Skip to main content

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.

Constructors​

MemberWhat it is
TriggerEventData()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private string eventNameBacking field for EventName.

Properties​

MemberWhat it is
string EventName { get; }The event's name as sent to analytics.

Methods​

MemberWhat it is
void SetName(string newName)Sets the event name.

Used in​

Members of other types that take, return or hold a TriggerEventData: