Click or drag to resize

CommentDrawer Class

Comment drawer, allows drawing a label instead of a field
Inheritance Hierarchy
SystemObject
  GUIDrawer
    PropertyDrawer
      DigitalRuby.WeatherMakerCommentDrawer

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

The CommentDrawer type exposes the following members.

Constructors
  NameDescription
Public methodCommentDrawer
Initializes a new instance of the CommentDrawer 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

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
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