Exemplo n.º 1
0
 private static void Remove()
 {
     if (Application.isPlaying)
     {
         EditorUtility.DisplayDialog("Unable to Remove", "Application.isPlaying == true", "OK");
         return;
     }
     HBEditor.Rollback();
 }
Exemplo n.º 2
0
        private static void Apply()
        {
            if (Application.isPlaying)
            {
                EditorUtility.DisplayDialog("Unable to Apply", "Application.isPlaying == true", "OK");
                return;
            }

            HBEditor.Apply();
        }