 | TooltipDrawerOnGUI Method |
Shows a tooltip next to a property in the Unity inspector.
Namespace: Slash.Unity.Editor.Common.Inspectors.UtilsAssembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntaxpublic override void OnGUI(
Rect position,
SerializedProperty property,
GUIContent oldLabel
)
Public Overrides Sub OnGUI (
position As Rect,
property As SerializedProperty,
oldLabel As GUIContent
)
public:
virtual void OnGUI(
Rect position,
SerializedProperty^ property,
GUIContent^ oldLabel
) override
abstract OnGUI :
position : Rect *
property : SerializedProperty *
oldLabel : GUIContent -> unit
override OnGUI :
position : Rect *
property : SerializedProperty *
oldLabel : GUIContent -> unit
Parameters
- position
- Type: Rect
Position to draw the property editor at. - property
- Type: SerializedProperty
Property to draw the editor for. - oldLabel
- Type: GUIContent
Tooltip text.
See Also