Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Addressables - how to move asset to addressables from script

Discussion in '2018.3 Beta' started by Hostur, Oct 15, 2018.

Thread Status:
Not open for further replies.
  1. Hostur

    Hostur

    Joined:
    Jul 6, 2015
    Posts:
    60
    Hi,
    I'm trying to assign assets to addressables from code. With asset bundles it was easy like:

    AssetImporter.GetAtPath(path).SetAssetBundleNameAndVariant(bundleName, "");

    How to move asset to addressable group and set addressable label-name on it?
    Is there any friendly api for that?
     
  2. Hostur

    Hostur

    Joined:
    Jul 6, 2015
    Posts:
    60
    refresh :(
     
  3. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    973
    LeonhardP likes this.
  4. Hostur

    Hostur

    Joined:
    Jul 6, 2015
    Posts:
    60
    Thanks,
    Alkis, I have the same pacman t-shirt on myself right now :D world is so small..
     
    AlkisFortuneFish likes this.
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
Thread Status:
Not open for further replies.