Пример #1
0
 public void ReloadCurScene()
 {
     if (!FileUtility.DirectoryDelete(Application.persistentDataPath + "/assetsdata", true))
     {
         FileUtility.DeleteDirectory(Application.persistentDataPath + "/assetsdata", true);
     }
     CustomerUtil.ReloadCurScene();
 }
Пример #2
0
 static int QPYX_ReloadCurScene_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 0);
         CustomerUtil.ReloadCurScene();
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Пример #3
0
 static int ReloadCurScene(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 0);
         CustomerUtil.ReloadCurScene();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Пример #4
0
 private void Reload()
 {
     FileUtility.DirectoryDelete(Application.persistentDataPath, true);
     AssetBundleManager.instance.Reset(true);
     CustomerUtil.ReloadCurScene();
 }