コード例 #1
0
        static void InitFolder()
        {
            foreach (var baseInfo in ColorResConfigController.Instance.ColorResFolderInfos)
            {
                CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + baseInfo.Path);
            }

            foreach (var baseInfo in ColorResConfigController.Instance.ThumbnailResFolderInfos)
            {
                CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + baseInfo.Path);
            }
            AssetDatabase.Refresh();
        }
コード例 #2
0
        static void InitFolder()
        {
            CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/DummyMaterial");
            foreach (var baseInfo in HomeRoomConfigController.Instance.RoomFolderInfos)
            {
                foreach (string childFolder in HomeRoomConfigController.Instance.RoomChildFolders)
                {
                    CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + baseInfo.Path + "/" + childFolder);
                }
            }

            AssetDatabase.Refresh();
        }
コード例 #3
0
        static void InitFolder()
        {
            foreach (var mapInfo in CookingGameConfigController.Instance.MapInfos)
            {
                foreach (var path in CookingGameConfigController.Instance.FolderPaths)
                {
                    var localPath = path.LocalPath.Replace("*", mapInfo.LocalId.ToString());
                    CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + localPath);
                }
            }

            AssetDatabase.Refresh();
        }
コード例 #4
0
 static void GenerateColorPlaceholderFile()
 {
     if (ColorResConfigController.Instance != null)
     {
         foreach (var baseInfo in ColorResConfigController.Instance.ColorResFolderInfos)
         {
             CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + baseInfo.Path);
         }
         foreach (var baseInfo in ColorResConfigController.Instance.ThumbnailResFolderInfos)
         {
             CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + baseInfo.Path);
         }
     }
 }
コード例 #5
0
 static void GenerateCookingGamePlaceholderFile()
 {
     if (CookingGameConfigController.Instance != null)
     {
         foreach (var mapInfo in CookingGameConfigController.Instance.MapInfos)
         {
             foreach (var path in CookingGameConfigController.Instance.FolderPaths)
             {
                 var localPath = path.LocalPath.Replace("*", mapInfo.LocalId.ToString());
                 CommonResUtils.AddPlaceholderFile(Application.dataPath + "/Export/" + localPath);
             }
         }
     }
 }