Class EditorUtils
Utility methods for use in Editor code.
Inherited Members
Namespace: Unity.XR.CoreUtils.Editor
Assembly: solution.dll
Syntax
public static class EditorUtils
Methods
Name | Description |
---|---|
GetAssetPreview(Object, Action<Texture>) | Tries to get an AssetPreview for an asset. |
GetFieldInfoFromProperty(SerializedProperty) | Gets the FieldInfo of a SerializedProperty. |
GetMemberAttributes(SerializedProperty) | Gets the attributes of a SerializedProperty. |
GetMemberInfoFromPropertyPath(Type, string, out Type) | Gets MemberInfo for a property by path. |
MaskField(Rect, GUIContent, int, string[], Type) | Makes an Editor GUI control for mask properties. |
NicifySerializedPropertyType(string) | Cleans up a string received from SerializedProperty.type. |
SerializedPropertyToField(SerializedProperty) | Gets the FieldInfo for a given property. |
SerializedPropertyToType(SerializedProperty) | Gets the Type of a SerializedProperty object, if possible. |
TypeNameToType(string) | Gets the Type corresponding to the specified name string. |