エディターウィンドウ
公式サイト:
目次
使い方
参考:
導入
参考:
シリアル化/値を保持する
ドキュメント:
スクリプトのシリアル化 | Unity 2020.3 マニュアル [公式]
ビルトインのシリアル化 | Unity 2020.3 マニュアル [公式]
UnityEngine.SerializeField | Unity スクリプトリファレンス [公式]
参考:
Unity を閉じても Editor Window の状態を保つ方法 | LIGHT11
Serialization | Unity Blog [Official]
Serialize fields only in Editor – Unity Forum
How do I have an EditorWindow save it’s data inbetween opening and closing Unity? – Unity Answers
Store editor values between editor sessions – Stack Overflow
EditorWindow
ドキュメント:
UnityEditor.EditorWindow | Unity スクリプトリファレンス [公式]
Update
ドキュメント:
EditorWindow.Update() | Unity スクリプトリファレンス [公式]
OnEnable
ドキュメント:
ScriptableObject.OnEnable() | Unity スクリプトリファレンス [公式]
参考:
Editor Window の OnEnable はコンパイル時にも呼ばれるという話 | LIGHT11
ReoderableList
参考:
ReorderableList in Custom Editor Window – Unity Forum
How to have a ReoderableList in a Custom Editor Window – Unity Answers