示例#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();
        }