Click or drag to resize

CommentPropertyDrawer Class

A property drawer for fields marked with the CommentAttribute. Similar to Header, but useful for longer descriptions.
Inheritance Hierarchy
SystemObject
  GUIDrawer
    DecoratorDrawer
      Gamelogic.Extensions.EditorCommentPropertyDrawer

Namespace:  Gamelogic.Extensions.Editor
Assembly:  Assembly-CSharp-Editor (in Assembly-CSharp-Editor.dll) Version: 0.0.0.0
Syntax
C#
[CustomPropertyDrawer(typeof(CommentAttribute), true)]
public class CommentPropertyDrawer : DecoratorDrawer

The CommentPropertyDrawer type exposes the following members.

Constructors
  NameDescription
Public methodCommentPropertyDrawer
Top
Properties
  NameDescription
Public propertyattribute

The PropertyAttribute for the decorator. (Read Only)

(Inherited from DecoratorDrawer.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetHeight (Overrides DecoratorDrawer.GetHeight.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnGUI (Overrides DecoratorDrawer.OnGUI(Rect).)
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