Description
Used to denote a bespoke agent. This service can be added to any object within the scene and the system will treat it as an agent when the scene is playing. Please note that there is no filter on buildings yet, so please double check when assigning buildings to the agent.
Interface
Type |
---|
IBespokeAgent |
IMonoBehaviour |
Inherits
Properties
Name | Type |
---|
data | IBespokeAgentData |
Public Methods
Name | Parameters | Return Type | Description |
---|
Setup | IBespokeAgentData data | void | Used to set the bespoke agent data values. |
Create | ICharacterSpawner characterSpawner, IActionService actionService, ILookingService lookingService | boolean | Validates and setup the agent within the system. Returns if successful. |
GetData | N/A | IBespokeAgentData | Returns the bespoke agent data values. |