Search Unity

Load assets using Label? [Resolved]

Discussion in 'Addressables' started by Opeth001, Jul 15, 2019.

  1. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    294
    Is it possible to load all addressable assets directly via label ?

    EDIT:
    i found it.

    Addressables.LoadAssetsAsync<GameObject>(MyLabelString, null).Completed += objects =>
    {
    foreach (var go in objects.Result)
    Debug.Log($"Addressable Loaded: {go.name}");
    };
     
    Last edited: Jul 15, 2019
    unity_bill likes this.