Editar

Compartir a través de


NearInteractionTouchable.SetLocalCenter(Vector3) Method

Definition

Set the position (center) of the NearInteractionTouchable plane relative to the gameObject.
The position of the plane should be in front of the gameObject.

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

Parameters

newLocalCenter
UnityEngine.Vector3

Applies to