TooltipAttribute

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

 
Set a helpful tooltip message to show in the editor.

Public Properties

[read-only]
 
Value string . The string to display

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


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.