Interaction
Description
Used for agents to interact with items within the scene. This does not control animations.
Interface
| Type |
|---|
| IInteractionService |
Inherits
| Type |
|---|
| N/A |
Properties
| Name | Type |
|---|---|
| currentGoalObj | Item |
Public Methods
| Name | Parameters | Return Type | Description |
|---|---|---|---|
| SetObject | Item item | void | Set the currentGoalObj. |
| SetInUse | boolean value | boolean | Set the currentGoalObj item In Use state to the value. |
| SetReserved | boolean value | boolean | Set the currentGoalObj item Reserved state to the value. |
| Reset | N/A | boolean | Resets the interaction service. |
| SetGoalItemReserved | IAgentState agentState, Item candidate, bool? changeReserved = true | void | Being Deprecated. |
| SetGoalItemInUse | bool value, Item candidate = null | void | Being Deprecated. |