편집

다음을 통해 공유


Interactable.TriggerOnClick Method

Definition

Overloads

TriggerOnClick()

A public way to trigger or route an onClick event from an external source, like PressableButton

TriggerOnClick(Boolean)

A public way to trigger or route an onClick event from an external source, like PressableButton

TriggerOnClick()

A public way to trigger or route an onClick event from an external source, like PressableButton

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

Applies to

TriggerOnClick(Boolean)

A public way to trigger or route an onClick event from an external source, like PressableButton

public void TriggerOnClick (bool force = false);
member this.TriggerOnClick : bool -> unit
Public Sub TriggerOnClick (Optional force As Boolean = false)

Parameters

force
Boolean

Force the click without checking CanInteract(). Does not override IsEnabled and only applies to toggle.

Applies to