UnityEditor.Menu.SetChecked C# (CSharp) Method

SetChecked() private method

private SetChecked ( string menuPath, bool isChecked ) : void
menuPath string
isChecked bool
return void
        public static extern void SetChecked(string menuPath, bool isChecked);
    }

Usage Example

Exemplo n.º 1
0
 public static void __changeDebug()
 {
     LerpedCore.SetBool(section, !active);
     EditorMenu.SetChecked(menuName, active);
     EditorPrefs.SetBool(menuName, active);
     if (active)
     {
         Debug.Log("Debug is enabled!");
     }
     else
     {
         Debug.Log("Debug is disabled!");
     }
 }
All Usage Examples Of UnityEditor.Menu::SetChecked