編輯

共用方式為


CompressableButton.GetLocalPositionAlongPushDirection(Single) Method

Definition

Returns local position along the push direction for the given local distance

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

Parameters

localDistance
Single

Returns

UnityEngine.Vector3

Applies to