Table of Contents

Class CommentAttribute

Namespace
Gamelogic.Extensions
Assembly
Assembly-CSharp.dll

Used to mark a field to add a comment above the field in the inspector.

[AttributeUsage(AttributeTargets.Field)]
[Version(2, 3, 0)]
public class CommentAttribute : PropertyAttribute, _Attribute
Inheritance
CommentAttribute
Implements
Inherited Members
Extension Methods

Constructors

CommentAttribute(string, string)

public CommentAttribute(string comment, string tooltip = "")

Parameters

comment string
tooltip string

Fields

content

public readonly GUIContent content

Field Value

GUIContent

See Also