EventKey<T> Class
Namespace: Stride.Engine.EventsAssembly: Stride.Engine.dll
Derived from EventKey<T>:
public sealed class EventKey<T> : EventKeyBase<T>, IDisposable
Type Parameters
Name | Description |
---|---|
T |
Name | Description | |
---|---|---|
Constructors | ||
EventKey(String, String) | ||
Methods | ||
Broadcast(T) | 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(T)
Broadcasts the event to all the receivers
public void Broadcast(T data)
Parameters
Type | Name | Description |
---|---|---|
T | data |