Editar

Compartir a través de


ToolTipConnector Class

Definition

Connects a ToolTip to a target Maintains that connection even if the target moves

public ref class ToolTipConnector : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipConnector")]
[UnityEngine.ExecuteAlways]
public class ToolTipConnector : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipConnector")>]
[<UnityEngine.ExecuteAlways>]
type ToolTipConnector = class
    inherit MonoBehaviour
Public Class ToolTipConnector
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
ToolTipConnector
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteAlwaysAttribute

Constructors

ToolTipConnector()

Properties

ConnectorFollowingType

The follow style of the tooltip connector

ManualPivotDirection

The direction of the manual pivot.

ManualPivotLocalPosition

getter/setter for local pivot position

PivotDirection

The direction of the connector

PivotDirectionOrient

Orientation style for connector

PivotDistance

Set Distance from object that Tooltip pivots around.

PivotMode

Is the connector pivot set manually or automatically?

Target

The GameObject to which the tooltip is connected

Methods

GetDirectionFromPivotDirection(ConnectorPivotDirection, Vector3, Transform)

Computes the director of the connector

Applies to