| 1234567891011121314151617181920212223242526 | using System.Collections;using System.Collections.Generic;using UnityEngine;public class LoadTest : MonoBehaviour{    // Start is called before the first frame update    void Start()    {        StartCoroutine(waitABload());    }    IEnumerator waitABload()    {        yield return new WaitUntil(()=>AssetLoadHelper._Instance.isLoad);        AssetLoadHelper._Instance.LoadAssets<GameObject>("model", "Static");        //AssetLoadHelper._Instance.LoadAssets<GameObject>("weathertool", "Effect Removal Zone");        //AssetLoadHelper._Instance.LoadAssets<GameObject>("weathertool", "Enviro 3");        //AssetLoadHelper._Instance.LoadAssets<GameObject>("weathertool", "WeatherUI");        //AssetLoadHelper._Instance.LoadAssets<GameObject>("weathertool", "WeatherZone");        //AssetLoadHelper._Instance.LoadAssets<GameObject>("terrain", "Terrain");            }}
 |