This class allows the display of a message box (warning, info, error...) next to a property (before or after)
More...
|
| override void | OnGUI (Rect rect, SerializedProperty prop, GUIContent label) |
| | OnGUI, displays the property and the textbox in the specified order.
|
| override float | GetPropertyHeight (SerializedProperty property, GUIContent label) |
| | Returns the complete height of the whole block (property + help text)
|
This class allows the display of a message box (warning, info, error...) next to a property (before or after)
◆ DetermineTextboxHeight()
| virtual float MoreMountains.Feedbacks.MMFInformationAttributeDrawer.DetermineTextboxHeight |
( |
string | message | ) |
|
|
protectedvirtual |
Determines the height of the textbox.
- Returns
- The textbox height.
- Parameters
-
◆ GetPropertyHeight()
| override float MoreMountains.Feedbacks.MMFInformationAttributeDrawer.GetPropertyHeight |
( |
SerializedProperty | property, |
|
|
GUIContent | label ) |
Returns the complete height of the whole block (property + help text)
- Returns
- The block height.
- Parameters
-
| property | Property. |
| label | Label. |
◆ OnGUI()
| override void MoreMountains.Feedbacks.MMFInformationAttributeDrawer.OnGUI |
( |
Rect | rect, |
|
|
SerializedProperty | prop, |
|
|
GUIContent | label ) |
OnGUI, displays the property and the textbox in the specified order.
- Parameters
-
| rect | Rect. |
| prop | Property. |
| label | Label. |
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/Editor/Core/AttributeDrawers.cs