![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
Add a note to a field or method. Choice of embedding a string or using a property to provide the string. Always displayed as a 'helpbox' above the field or method button. More...


Public Member Functions | |
| TptNoteAttribute (bool useProperty, string noteOrProperty, bool isWarning=false) | |
| Ctor. | |
Public Attributes | |
| readonly bool | m_UseProperty |
| true if a property is used to provide the note. | |
| readonly string | m_NoteOrProperty |
| The name of the property providing the string or the string if m_UseProperty is false. | |
| readonly bool | m_IsWarning |
| Use 'Warning' style messagebox if true. | |
Add a note to a field or method. Choice of embedding a string or using a property to provide the string. Always displayed as a 'helpbox' above the field or method button.
Selection Inspector ONLY, ALWAYS hidden in Play mode
| TilePlus.TptNoteAttribute.TptNoteAttribute | ( | bool | useProperty, |
| string | noteOrProperty, | ||
| bool | isWarning = false ) |
Ctor.
| useProperty | If true, 'noteOrProperty' is the name of a public property that will provide the string to display |
| noteOrProperty | The note or the name of a property that will provide the note. |
| isWarning | If true, a Warning type of messagebox is used to show the string |
| readonly bool TilePlus.TptNoteAttribute.m_IsWarning |
Use 'Warning' style messagebox if true.
| readonly string TilePlus.TptNoteAttribute.m_NoteOrProperty |
The name of the property providing the string or the string if m_UseProperty is false.
| readonly bool TilePlus.TptNoteAttribute.m_UseProperty |
true if a property is used to provide the note.