EditorGUIUtility.LoadRequiredstatic function LoadRequired (path : String) : ObjectDescriptionLoad a built-in resource that has to be there. This function will look in Assets/Editor Default Resources/whatever for the resource. var handleMaterial : Material = EditorGUIUtility.Load("HandleMaterial"); |
