Tooltip Attribute

TooltipAttribute Class

Set a helpful tooltip message to show in the editor.

Syntax

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

Remarks

Requirements

Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Attribute.

Public Constructors

Public Properties

Member Details

TooltipAttribute Constructor

Set a helpful tooltip message to show in the editor.

Syntax

public TooltipAttribute (string tooltip)

Parameters

tooltip

Documentation for this section has not yet been entered.

Remarks

Example

C# Example

            [Tooltip("The position to move the object to, in world space.")]
            public Vector Destination;
            

Requirements

Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0


Value Property

The string to display

Syntax

public string Value { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0


Last updated