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 More...
|
|
override float | GetPropertyHeight (SerializedProperty property, GUIContent label) |
| Returns the complete height of the whole block (property + help text) More...
|
|
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. |
◆ HelpEnabled()
virtual bool MoreMountains.Feedbacks.MMFInformationAttributeDrawer.HelpEnabled |
( |
| ) |
|
|
protectedvirtual |
Checks the editor prefs to see if help is enabled or not
- Returns
true
, if enabled was helped, false
otherwise.
◆ 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:
- Assets/InfiniteRunnerEngine/ThirdParty/MoreMountains/MMFeedbacks/Editor/Core/AttributeDrawers.cs