Modifier

Partager via


NearInteractionTouchable.SetBounds(Vector2) Method

Definition

Set the size (bounds) of the 2D NearInteractionTouchable plane.

public:
 void SetBounds(UnityEngine::Vector2 newBounds);
public void SetBounds (UnityEngine.Vector2 newBounds);
member this.SetBounds : UnityEngine.Vector2 -> unit
Public Sub SetBounds (newBounds As Vector2)

Parameters

newBounds
UnityEngine.Vector2

Applies to