◆ AddDebugSnapshotReceiver()
Registers a debug snapshot receiver that can react to newly produced debug data
- Parameters
-
◆ AttachToEntity()
void Grail.Core.DebugUtilities.GrailDebugger.AttachToEntity |
( |
AIEntity |
entity | ) |
|
|
inline |
Starts producing debug data for an entity's reasoner
- Parameters
-
◆ AttachToManager()
void Grail.Core.DebugUtilities.GrailDebugger.AttachToManager |
( |
AIManager |
manager, |
|
|
bool |
attachToAllEntities = true |
|
) |
| |
|
inline |
Attaches the debugger instance to an AIManager
- Parameters
-
manager | The manager to attach to |
attachToAllEntities | if set to true, the debugger will automatically attach to reasoners of all entities |
◆ DetachFromEntity()
void Grail.Core.DebugUtilities.GrailDebugger.DetachFromEntity |
( |
AIEntity |
entity | ) |
|
|
inline |
Stops the production of debug data for an entity's reasoner
- Parameters
-
◆ DetachFromManager()
void Grail.Core.DebugUtilities.GrailDebugger.DetachFromManager |
( |
AIManager |
manager | ) |
|
|
inline |
Detaches the debugger from the currently selected AI Manager and its entities
◆ RemoveDebugSnapshotReceiver()
Removes a debug snapshot receiver
- Parameters
-
◆ Update()
void Grail.Core.DebugUtilities.GrailDebugger.Update |
( |
| ) |
|
|
inline |
Creates debug data for entities and managers that the debugger is attached to, notifies registered snapshot receivers
◆ GrailDebugger
Grail.Core.DebugUtilities.GrailDebugger.GrailDebugger |
|
static |
Creates a new GrailDebugger for a specific AIManager.
- Parameters
-
timestampProvider | A timestamp provider to be used by the newly created debugger. |
aiManager | The AIManager for which the debugger should be created. |
- Returns
- A new GrailDebugger instance coupled with its respective debug info generator.
The documentation for this class was generated from the following file:
- GrailCore/source/DebugUtilities/GrailDebugger.cs