Modifica

Condividi tramite


EventReceiverManager.InvokeStateEvent(String, BaseEventData) Method

Definition

Invoke a state event with optional event data.

public void InvokeStateEvent (string stateName, UnityEngine.EventSystems.BaseEventData eventData = default);
member this.InvokeStateEvent : string * UnityEngine.EventSystems.BaseEventData -> unit
Public Sub InvokeStateEvent (stateName As String, Optional eventData As BaseEventData = Nothing)

Parameters

stateName
String

The name of the state

eventData
UnityEngine.EventSystems.BaseEventData

The event data for the state event (optional)

Applies to