Skip to content

Get Sansar

Script API

TooltipAttribute

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Class Namespace Sansar.Script Inherits Attribute

Set a helpful tooltip message to show in the editor.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Field)]
public class TooltipAttribute : Attribute

Members at a glance

KindMembers
ConstructorsTooltipAttribute
PropertiesValue

Constructors

TooltipAttribute

public TooltipAttribute(string tooltip)

Set a helpful tooltip message to show in the editor.

ParameterTypeDescription
tooltipstring
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.