Пример #1
0
 private static void Remove()
 {
     if (Application.isPlaying)
     {
         EditorUtility.DisplayDialog("Unable to Remove", "Application.isPlaying == true", "OK");
         return;
     }
     HBEditor.Rollback();
 }
Пример #2
0
        private static void Apply()
        {
            if (Application.isPlaying)
            {
                EditorUtility.DisplayDialog("Unable to Apply", "Application.isPlaying == true", "OK");
                return;
            }

            HBEditor.Apply();
        }