Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

[Closed] How to get ResourceLocation and Resource Adress out of AssetReference?

Discussion in 'Addressables' started by TextusGames, Aug 12, 2019.

  1. TextusGames

    TextusGames

    Joined:
    Dec 8, 2016
    Posts:
    354
    How to get ResourceLocation and Resource Adress out of AssetReference?
     
  2. TextusGames

    TextusGames

    Joined:
    Dec 8, 2016
    Posts:
    354
    I guess I need to iterate through all ResourceLocators and Find matched key.
     
  3. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    1,005
    You can also do
    Addressables.LoadResourceLocationsAsync(myAssetRef);
    . I think.
     
    TextusGames likes this.
unityunity