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