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

    TextusGames

    Joined:
    Dec 8, 2016
    Posts:
    64
    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:
    829
    You can also do
    Addressables.LoadResourceLocationsAsync(myAssetRef);
    . I think.
     
    TextusGames likes this.