EditorGUIUtility.ObjectContentstatic function ObjectContent (obj : Object, type : System.Type) : GUIContentDescriptionReturn a GUIContent object with the name and icon of an Object. If the object is null, the icon will be picked according to type. |
