CommentAttribute
A class in Alta.Attributes, the global namespace.
Inspector attribute that shows a comment box above a field.
- Listed in Other Alta assemblies
- Inherits or implements
PropertyAttribute - Nested types
MessageType
Constructors
| Member | What it is |
|---|---|
CommentAttribute(string message, float numberOfLines = 3, CommentAttribute.MessageType messageType = 0) | Creates a CommentAttribute from message, numberOfLines and messageType. |
Properties
| Member | What it is |
|---|---|
string Message { get; private set; } | Text shown. |
float NumberOfLines { get; private set; } | Height of the box in lines. Default 3. |
CommentAttribute.MessageType TypeOfMessage { get; private set; } | Icon style: none, info, warning or error. |