示例#1
0
 public static bool Toggle(bool value, string text, GUIStyle style, params GUILayoutOption[] options)
 {
     return(GUILayout.DoToggle(value, GUIContent.Temp(text), style, options));
 }
示例#2
0
 public static bool Toggle(bool value, GUIContent content, GUIStyle style, params GUILayoutOption[] options)
 {
     return(GUILayout.DoToggle(value, content, style, options));
 }
示例#3
0
 public static bool Toggle(bool value, Texture image, GUIStyle style, params GUILayoutOption[] options)
 {
     return(GUILayout.DoToggle(value, GUIContent.Temp(image), style, options));
 }