Click or drag to resize

PositiveDrawer Class

A property drawer for fields marked with the Positive Attribute.
Inheritance Hierarchy
SystemObject
  GUIDrawer
    PropertyDrawer
      Gamelogic.Extensions.EditorPositiveDrawer

Namespace:  Gamelogic.Extensions.Editor
Assembly:  Assembly-CSharp-Editor (in Assembly-CSharp-Editor.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 2, 0)]
[CustomPropertyDrawer(typeof(PositiveAttribute))]
public class PositiveDrawer : PropertyDrawer

The PositiveDrawer type exposes the following members.

Constructors
  NameDescription
Public methodPositiveDrawer
Top
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

Override this method to specify how tall the GUI for this field is in pixels.

(Inherited from PropertyDrawer.)
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