static int CreateDirectory(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); string arg0 = LuaScriptMgr.GetLuaString(L, 1); bool o = UtilCommon.CreateDirectory(arg0); LuaScriptMgr.Push(L, o); return(1); }
private void InitDataPath() { if (Application.isEditor && !UtilCommon.IsDirectoryExist(UtilCommon.resourcesPath)) { UtilCommon.CreateDirectory(UtilCommon.resourcesPath); } if (!UtilCommon.IsDirectoryExist(UtilCommon.storePath)) { UtilCommon.CreateDirectory(UtilCommon.storePath); } }