Skip to main content

Class TriggerRecord

A timestamped entry representing a single occurrence of an event trigger activation.

[Serializable]
public class TriggerRecord : TimeStampedRecord

Inheritance​

Inherited Members​

TimeStampedRecord.unixTimestamp

Remarks​

This class is used in conjunction with the EventTriggerDataLog.

Constructors​

TriggerRecord(string, string)​

public TriggerRecord(string objName, string eventType)

Parameters​

NameTypeDescription
objNamestring
eventTypestring

Fields​

eventType​

The type of interaction that triggered the event (e.g., "OnTriggerEnter", "OnTriggerExit"). Can also contain custom-defined trigger types.

public string eventType

Field Value​

string

triggeredBy​

The name of the object that triggered the Event trigger

public string triggeredBy

Field Value​

string