private async Task InitAndWaitUntilLocationLoaded() { await AddressableLocationLoader.GetAll(_label, AssetLocations); foreach (var location in AssetLocations) { } }
private async Task InitAndWaitUntilLocLoaded() { await AddressableLocationLoader.GetAll(_label, AssetLocations); foreach (var location in AssetLocations) { //ASSET LOCATION FULLY LOADED Debug.Log(location.PrimaryKey); } }
private async Task InitAndWaitUntilLocLoaded(string label) { await AddressableLocationLoader.GetAll(label, AssetLocations); foreach (var location in AssetLocations) { // Asset location fully loaded. Debug.Log("LoadedAddressableLocations.InitAndWaitUntilLocLoaded(): " + location.PrimaryKey); } }
private async Task InitAndWaitUntilLoaded(string label) { await AddressableLocationLoader.GetAll(label, locations); foreach (var location in locations) { await LoadingGameObject(location.PrimaryKey); Debug.Log(location.PrimaryKey + " is loaded"); } Debug.Log("All Object is loaded"); }