示例#1
0
 public static IEnumerable <MightyEditor> GetMightyEditors()
 {
     foreach (var script in SerializedPropertyUtility.FindAllObjects <MonoBehaviour>())
     {
         if (script.CreateEditor(out var mightyEditor))
         {
             yield return(mightyEditor);
         }
     }
 }
        public static void ApplyAutoValues()
        {
            foreach (var script in SerializedPropertyUtility.FindAllObjects <MonoBehaviour>())
            {
                if (script.CreateEditor(out var mightyEditor))
                {
                    mightyEditor.ApplyAutoValues();
                }
            }

            EditorDrawUtility.MightyDebug("Auto Values Applied");
        }