Class ExampleLogging
Shows how to use the Ride API to log data to the log stream
Implements
IEntity
Inherited Members
Namespace: Ride.Examples
Assembly: cs.temp.dll.dll
Syntax
public class ExampleLogging : RideBaseMinimal
Fields
Name | Description |
---|---|
eventLogger | |
scenarioLogger | the file to write the scenario information too |
updateRateLog |
Methods
Name | Description |
---|---|
OnAgentDied(WorldEventMarker, AgentDiedEvent) | |
OnEnemyEngaged(WorldEventMarker, AgentEngagedEvent) | |
OnFlagCaptured(WorldEventMarker, FlagCapturedEvent) | |
Start() | |
Update() | a simple update loop which writes the data to the file currently at 30 frames a second |
WriteAgentData() |