Skip to main content

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

NameType
currentGoalObjItem

Public Methods

NameParametersReturn TypeDescription
SetObjectItem itemvoidSet the currentGoalObj.
SetInUseboolean valuebooleanSet the currentGoalObj item In Use state to the value.
SetReservedboolean valuebooleanSet the currentGoalObj item Reserved state to the value.
ResetN/AbooleanResets the interaction service.
SetGoalItemReservedIAgentState agentState, Item candidate, bool? changeReserved = truevoidBeing Deprecated.
SetGoalItemInUsebool value, Item candidate = nullvoidBeing Deprecated.