Click or drag to resize

WarningIfNullPropertyDrawer Class

Property drawer for fields marked with the WarnIfNull.
Inheritance Hierarchy
SystemObject
  GUIDrawer
    PropertyDrawer
      Gamelogic.Extensions.EditorWarningIfNullPropertyDrawer

Namespace:  Gamelogic.Extensions.Editor
Assembly:  Assembly-CSharp-Editor (in Assembly-CSharp-Editor.dll) Version: 0.0.0.0
Syntax
C#
[CustomPropertyDrawer(typeof(WarningIfNullAttribute))]
public class WarningIfNullPropertyDrawer : PropertyDrawer

The WarningIfNullPropertyDrawer type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyattribute

The PropertyAttribute for the property. Not applicable for custom class drawers. (Read Only)

(Inherited from PropertyDrawer.)
Public propertyfieldInfo

The reflection FieldInfo for the member this property represents. (Read Only)

(Inherited from PropertyDrawer.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPropertyHeight (Overrides PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent).)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnGUI (Overrides PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent).)
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also