編集

次の方法で共有


Interpolator.SetTargetPosition(Vector3) Method

Definition

Sets the target position for the transform and if position wasn't already animating, fires the InterpolationStarted event.

public:
 void SetTargetPosition(UnityEngine::Vector3 target);
public void SetTargetPosition (UnityEngine.Vector3 target);
member this.SetTargetPosition : UnityEngine.Vector3 -> unit
Public Sub SetTargetPosition (target As Vector3)

Parameters

target
UnityEngine.Vector3

The new target position to for the transform.

Applies to