This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using System.Collections.Generic; | |
namespace WataOfuton | |
{ | |
/// <summary> | |
/// 1行目に “// MY_CUSTOM_TEMPLATE_MARKER” という文字列を含むシェーダーを検出したら、 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
namespace WataOfuton.Tool | |
{ | |
public class ImportFolderUnifier : AssetPostprocessor | |
{ | |
// 機能概要 | |
// アセットをインポートした際に、targetDirNames 内に同名フォルダが存在する場合、 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Reference | |
https://karanokan.info/2020/10/22/post-5625/ | |
https://qiita.com/luckin/items/96f0ce9e1ac86f9b51fc | |
https://tips.hecomi.com/entry/2016/10/15/004144 | |
https://qiita.com/Fuji0k0/items/4f4bfa552e5c7967ac60 | |
https://qiita.com/skkn/items/76767ee7e1897e5ba8ec | |
https://light11.hatenadiary.com/entry/2018/10/17/222641 | |
StandardShaderGUI.cs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This code was generated with the help of ChatGPT, an AI language model developed by OpenAI. | |
* Please save this script in a folder named "Editor". | |
*/ | |
using System.Reflection; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
using System.Linq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using System.IO; | |
using System; | |
using UnityEditor.Events; | |
using UnityEditor.Animations; | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://docs.unity3d.com/ja/2018.4/Manual/class-Cubemap.html | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using System.IO; | |
using System; | |
using UnityEditor.Events; |