void Awake() { Instance = this; AssetLoader = new BundleAssetLoader(); ClientHash = AssetLoader.CalculateDomainHash(); MainAssetCache = new AssetCache(); }
// Use this for initialization void Start() { // Thread t=new Thread((() => // { // AsyncClass cl = new AsyncClass(); // })); //t.Start(); BundleAssetLoader loader = new BundleAssetLoader(); GameObject t = loader.GetWebAssetSync <GameObject>("TestBundle", Guid.Parse("3601dced-3ddc-46da-87e0-e00aab388e54")); Instantiate(t); }
private void Test3() { BundleAssetLoader.UnLoad(refIndex); }