Example #1
0
 public static string ShaderPopup(string selected)
 {
     return(SwGui.ShaderPopup(EditorGUILayout.GetControlRect(false), selected, EditorStyles.popup));
 }
Example #2
0
 public static string ShaderPopup(GUIContent label, string selected, GUIStyle style)
 {
     return(SwGui.ShaderPopup(EditorGUILayout.GetControlRect(), label, selected, style));
 }
Example #3
0
 public static string ShaderPopup(string selected, GUIStyle style)
 {
     return(SwGui.ShaderPopup(EditorGUILayout.GetControlRect(false), (GUIContent)null, selected, style));
 }