Set a helpful tooltip message to show in the editor.
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Field)]public class TooltipAttribute : AttributeMembers at a glance
| Kind | Members |
|---|---|
| Constructors | TooltipAttribute |
| Properties | Value |
Constructors
TooltipAttribute
public TooltipAttribute(string tooltip)Set a helpful tooltip message to show in the editor.
| Parameter | Type | Description |
|---|---|---|
tooltip | string |
Example
[Tooltip("The position to move the object to, in world space.")]public Vector Destination;Properties
Value
public string Value { get; }The string to display
Used in examples
Generated from the Sansar 47.10.0 client ScriptApi snapshot.