Search Unity

[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:
    429
    How to get ResourceLocation and Resource Adress out of AssetReference?
     
  2. TextusGames

    TextusGames

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

    unity_bill

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