UnityEngine.ExecuteInEditMode - Unity スクリプトリファレンス
Makes all instances of a script execute in edit mode.