EventReceiverManager.InvokeStateEvent(String, BaseEventData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)