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