EventKey Class
Namespace: Stride.Engine.EventsAssembly: Stride.Engine.dll
Creates a new EventKey used to broadcast events.
Derived from EventKey:
public sealed class EventKey : EventKeyBase<bool>, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
EventKey(String, String) | ||
Methods | ||
Broadcast() | Broadcasts the event to all the receivers |
Constructors
EventKey(String, String)
public EventKey(string category = "General", string eventName = "Event")
Parameters
Type | Name | Description |
---|---|---|
System.String | category | |
System.String | eventName |
Methods
Broadcast()
Broadcasts the event to all the receivers
public void Broadcast()