Пример #1
0
    private async Task CreateAndWaitUntilCompleted()
    {
        await CreateAddressablesLoader.InitAsset(_label, Assets);

        await CreateAddressablesLoader.InitAsset(_assetName, Assets);

        await Task.Delay(2000);

        ClearAsset(Assets[0]);
    }
Пример #2
0
    private async Task CreateAndWaitUntilCompleted()
    {
        await CreateAddressablesLoader.InitAsset(_label, Assets);

        foreach (var asset in Assets)
        {
            //OBJS LOADED PERFORM ADDITIONAL ACTIONS
            Debug.Log(asset.name);
            return;
        }
    }