Click or drag to resize

SingleLineDrawer Class

Single line property drawer, used on RangeOfIntegers, RangeOfFloats or Vector4.
Inheritance Hierarchy
SystemObject
  GUIDrawer
    PropertyDrawer
      DigitalRuby.WeatherMakerSingleLineDrawer

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class SingleLineDrawer : PropertyDrawer

The SingleLineDrawer type exposes the following members.

Constructors
  NameDescription
Public methodSingleLineDrawer
Initializes a new instance of the SingleLineDrawer class
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 methodCanCacheInspectorGUI

Override this method to determine whether the inspector GUI for your property can be cached.

(Inherited from PropertyDrawer.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPropertyHeight
Get property height
(Overrides PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent).)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnGUI
OnGUI
(Overrides PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent).)
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodDrawFloatTextField
Draw a float text field
(Defined by PropertyDrawerExtensions.)
Public Extension MethodDrawIntTextField
Draw an int text field
(Defined by PropertyDrawerExtensions.)
Public Extension MethodDrawRangeField
Draw a range field
(Defined by PropertyDrawerExtensions.)
Top
See Also