Editar

Compartir a través de


ToolTipUtility Class

Definition

Static class providing useful functions for finding ToolTip Attach point information.

public ref class ToolTipUtility abstract sealed
public static class ToolTipUtility
type ToolTipUtility = class
Public Class ToolTipUtility
Inheritance
ToolTipUtility

Methods

FindClosestAttachPointToAnchor(Transform, Transform, Vector3[], ToolTipAttachPoint)

Avoid running this query in Update function because calculating Vector3.Distance requires sqr root calculation (expensive) Instead, find strategic moments to update nearest pivot (i.e. only once when ToolTip becomes active)

GetAttachPointPositions(Vector3[], Vector2)

gets an array of pivot positions

Applies to