public void Dispose() { GameLoop.onUpdate -= Update; fuiLoading.Dispose(); fuiLoading = null; bundleDownloader.Dispose(); bundleDownloader = null; }
public FUIDownloader() { fuiLoading = FUILoading.CreateInstance(); GRoot.inst.AddChild(fuiLoading); fuiLoading.MakeFullScreen(); bundleDownloader = new BundleDownloader(); GameLoop.onUpdate += Update; }