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(); }
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(); }
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(); }
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); } } }
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); } } } }