Looking Service
Description
A collection of methods used to apply look mutations to agents.
Interface
| Type |
|---|
| ILookingService |
Inherits
| Type |
|---|
| N/A |
Properties
| Name | Type |
|---|---|
| locateService | ILocateService |
Public Methods
| Name | Parameters | Return Type | Description |
|---|---|---|---|
| LookingService | ILocateService locateService | LookingService | A constructor for LookingService. |
| FaceClosestItem | Vector3? | ILookApplicator | Returns the coordinates (if present) of the closest item. |
| FaceClosestOwnedItem | Vector3? | IMoveApplicator | Returns the coordinates (if present) of the closest item owned by the agent using ownership all. |
| FaceSameAsSelectedItem | Vector3? | IAnimationService | Returns the coordinates (if present) of the location 1.5f in front of the current agent goal item. |
| FaceSameAsClosestItem | Vector3? | IAnimationService | Returns the coordinates (if present) of the location 1.5f in front of the closest item to the agent. |