public override void OnDestroy() { base.OnDestroy(); instance = null; background = null; progressText = null; isCreate = false; }
/// <summary> /// 本UI设计单例,便于访问操作等 /// </summary> /// <returns></returns> public static UICopyingAssetHelper Instance() { if (null == instance) { instance = new UICopyingAssetHelper(); } return(instance); }