BaseInteractiveElement.TriggerClickedState Method

Definition

Set the Clicked state which triggers the OnClicked event. The click behavior in the state management system is expressed by setting the Clicked state to on and then immediately setting it to off.

Note: Due to the fact that a click is triggered by setting the Clicked state to on and then immediately off, the cyan active state highlight in the inspector will not be visible.

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

Applies to