MonoBehaviour that records the game data. Subscribe game behavior to the tracker by defining a message delegate. See TrackerModule.
More...
Inherits MonoBehaviour.
|
| void | AddModule (OnEventModule module) |
| | Add a new OnEventModule to track.
|
| |
| void | AddModule (TrackerModule module) |
| | Add a new Module to be tracked every tick.
|
| |
| void | AddTickModule (TrackerModule module) |
| | Add a new tracker module that is evaluated every tic the tracker runs.
|
| |
|
void | BeginTracking () |
| | Start the tracker.
|
| |
|
void | StopTracking () |
| | Stop the tracker.
|
| |
| void | Message (string messageText) |
| | Default game message.
|
| |
| void | Message (TrackerMessage message) |
| | Make a game message with a specified tracker message object.
|
| |
| void | Message (string key, string messageText) |
| | Make a game message with a specific key and text.
|
| |
|
void | OnApplicationQuit () |
| | Force the tracker to stop tracking when the application exits.
|
| |
| void | Interrupt (int eventType, string[] tags) |
| | Methods that track all the modules that are supposed to be tracked by a certain event and objects.
|
| |
| void | Interrupt (int eventType, string tag) |
| | Sends an interrupt signal to the Tracker to track modules that require to be tracked on every type of event by a certain object.
|
| |
|
| static string | CurrentTimeStamp () |
| | Gets current timestamp, for use in formatting.
|
| |
MonoBehaviour that records the game data. Subscribe game behavior to the tracker by defining a message delegate. See TrackerModule.
◆ AddModule() [1/2]
Add a new OnEventModule to track.
- Parameters
-
| module | A module that will be track when certains objects triggers certains events |
◆ AddModule() [2/2]
Add a new Module to be tracked every tick.
- Parameters
-
◆ AddTickModule()
Add a new tracker module that is evaluated every tic the tracker runs.
- Parameters
-
◆ CurrentTimeStamp()
| static string Enablegames.Tracker.CurrentTimeStamp |
( |
| ) |
|
|
inlinestatic |
Gets current timestamp, for use in formatting.
- Returns
◆ Interrupt() [1/2]
| void Enablegames.Tracker.Interrupt |
( |
int | eventType, |
|
|
string | tag ) |
|
inline |
Sends an interrupt signal to the Tracker to track modules that require to be tracked on every type of event by a certain object.
- Parameters
-
| eventType | The type of event to interrupt. Use the enum egEvent.Type for reference. |
| tag | The tag associated with the object. |
◆ Interrupt() [2/2]
| void Enablegames.Tracker.Interrupt |
( |
int | eventType, |
|
|
string[] | tags ) |
|
inline |
Methods that track all the modules that are supposed to be tracked by a certain event and objects.
- Parameters
-
◆ Message() [1/3]
| void Enablegames.Tracker.Message |
( |
string | key, |
|
|
string | messageText ) |
|
inline |
Make a game message with a specific key and text.
- Parameters
-
| key | Key displayed in the tracker data |
| messageText | Text displayed in message |
◆ Message() [2/3]
| void Enablegames.Tracker.Message |
( |
string | messageText | ) |
|
|
inline |
Default game message.
- Parameters
-
| messageText | String to display next to the default message key |
◆ Message() [3/3]
Make a game message with a specified tracker message object.
- Parameters
-
| message | Used to specify a specific key and message |
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/Tracker/Tracker.cs