Edytuj

Udostępnij za pośrednictwem


PressableButton.GetDistanceAlongPushDirection(Vector3) Method

Definition

Returns the local distance along the push direction for the passed in world position

public:
 float GetDistanceAlongPushDirection(UnityEngine::Vector3 positionWorldSpace);
public float GetDistanceAlongPushDirection (UnityEngine.Vector3 positionWorldSpace);
member this.GetDistanceAlongPushDirection : UnityEngine.Vector3 -> single
Public Function GetDistanceAlongPushDirection (positionWorldSpace As Vector3) As Single

Parameters

positionWorldSpace
UnityEngine.Vector3

Returns

Applies to