public void HideNetLoading() { if (null == _netLoadingInstance) { return; } _netLoadingInstance = null; _netLoadingInstance.Dispose(); AssetBundleManager.DisposeAsset(_netLoadingBundleUrl); }
public static void Remove(float delay = 0f) { if (null == _instance) { return; } if (delay > 0) { _instance.Invoke("Dispose", delay); } else { _instance.Dispose(); } }