Easy access for bot actions?
More...
Inherits MonoBehaviour.
|
void | Interact () |
| Calls the ShootRay() function from the Interact script, shoots an interaction check So if you are holding an item, you should release it, and if you arent, checks if there is anything to grab If you can grab an item, the item will be parented to the player/agent More...
|
|
void | ForceGrab (string itemName) |
| Forcefully looks for an item in the scene by its name and makes it the selected/parented item More...
|
|
void | ForceDrop () |
| Forecfully drops the item being held, even if the drop location is not a good spot More...
|
|
Easy access for bot actions?
void Cyan.Actions.ForceDrop |
( |
| ) |
|
Forecfully drops the item being held, even if the drop location is not a good spot
void Cyan.Actions.ForceGrab |
( |
string |
itemName | ) |
|
Forcefully looks for an item in the scene by its name and makes it the selected/parented item
- Parameters
-
itemName | name of the item in the scene |
void Cyan.Actions.Interact |
( |
| ) |
|
Calls the ShootRay() function from the Interact script, shoots an interaction check So if you are holding an item, you should release it, and if you arent, checks if there is anything to grab If you can grab an item, the item will be parented to the player/agent
The documentation for this class was generated from the following file:
- C:/Users/3D Intern/Documents/CornellTech-Unity3D/Assets/Scripts/API stuff/Actions.cs