TriggerEventData
A class in Root.Township, ATT.Triggers.
ScriptableObject that names a trigger event. The name is sent to analytics, so the asset says not to change it.
- Listed in ATT, Features and other game namespaces
- Inherits or implements
ScriptableObject,ITriggerEventData - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
TriggerEventData() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
Properties
| Member | What it is |
|---|---|
string EventName { get; } | The event's name as sent to analytics. |
Methods
| Member | What it is |
|---|---|
void SetName(string newName) | Sets the event name. |
Used in
Members of other types that take, return or hold a TriggerEventData: