Editar

Partilhar via


TapToPlace.StartPlacement Method

Definition

Start the placement of a game object without the need of the OnPointerClicked event. The game object will begin to follow the TrackedTargetType (Head by default) at a default distance. StopPlacement() must be called after StartPlacement() to stop the game object from following the TrackedTargetType. The game object layer is changed to IgnoreRaycast temporarily and then restored to its original layer in StopPlacement().

public:
 void StartPlacement();
public void StartPlacement ();
member this.StartPlacement : unit -> unit
Public Sub StartPlacement ()

Applies to