OptionalPropertyDrawer Class |
Namespace: Gamelogic.Extensions.Editor
[CustomPropertyDrawer(typeof(Optional), true)] public class OptionalPropertyDrawer : PropertyDrawer
The OptionalPropertyDrawer type exposes the following members.
| Name | Description | |
|---|---|---|
| OptionalPropertyDrawer |
| Name | Description | |
|---|---|---|
| attribute | The PropertyAttribute for the property. Not applicable for custom class drawers. (Read Only) | |
| fieldInfo | The reflection FieldInfo for the member this property represents. (Read Only) |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetPropertyHeight | (Overrides PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent).) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| OnGUI | (Overrides PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent).) | |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) |