ModKit.Private.UI.Toggle(UnityEngine.GUIContent, bool, UnityEngine.GUIContent, UnityEngine.GUIContent, UnityEngine.GUIStyle, UnityEngine.GUIStyle, bool, params UnityEngine.GUILayoutOption[])

Here are the examples of the csharp api ModKit.Private.UI.Toggle(UnityEngine.GUIContent, bool, UnityEngine.GUIContent, UnityEngine.GUIContent, UnityEngine.GUIStyle, UnityEngine.GUIStyle, bool, params UnityEngine.GUILayoutOption[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

5 Examples 7

19 View Source File : Toggle.cs
License : MIT License
Project Creator : cabarius

public static bool Toggle(string label, bool value, string on, string off, GUIStyle stateStyle, GUIStyle labelStyle, params GUILayoutOption[] options) => Toggle(LabelContent(label), value, new GUIContent(on), new GUIContent(off), stateStyle, labelStyle, false, options);

19 View Source File : Toggle.cs
License : MIT License
Project Creator : cabarius

public static bool DisclosureToggle(GUIContent label, bool value, bool isEmpty = false, params GUILayoutOption[] options) => Toggle(label, value, DisclosureOn, DisclosureOff, GUI.skin.textArea, GUI.skin.label, isEmpty, options);

19 View Source File : Toggle.cs
License : MIT License
Project Creator : cabarius

public static bool DisclosureToggle(string label, bool value, GUIStyle stateStyle, GUIStyle labelStyle, bool isEmpty = false, params GUILayoutOption[] options) => Toggle(LabelContent(label), value, DisclosureOn, DisclosureOff, stateStyle, labelStyle, isEmpty, options);

19 View Source File : Toggle.cs
License : MIT License
Project Creator : cabarius

public static bool CheckBox(GUIContent label, bool value, bool isEmpty, params GUILayoutOption[] options) => Toggle(label, value, CheckOn, CheckOff, GUI.skin.textArea, GUI.skin.label, isEmpty, options);

19 View Source File : Toggle.cs
License : MIT License
Project Creator : cabarius

public static bool CheckBox(string label, bool value, bool isEmpty, GUIStyle style, params GUILayoutOption[] options) => Toggle(LabelContent(label), value, CheckOn, CheckOff, GUI.skin.box, style, isEmpty, options);