Handles the interaction moments by keeping track of when things are grabbed, dropped etc
More...
Inherits MonoBehaviour.
|
void | DrawerInteractionCheck (int diosIndex) |
| checks if the player was interacting with a drawer, from the running playData. More...
|
|
void | AllInteractionChecks (int diosIndex) |
| Calls for all the interaction checks - if something is to be grabbed, dropped, rotated, pulled, or turned on/off Purpose is to be called from BotMovement in ElmerUpdater Coroutine - its shitty design I know - idk how to code nicely More...
|
|
void | GetNewPlayData (string newTraj) |
|
Handles the interaction moments by keeping track of when things are grabbed, dropped etc
void Cyan.Elmer.BotInteraction.AllInteractionChecks |
( |
int |
diosIndex | ) |
|
Calls for all the interaction checks - if something is to be grabbed, dropped, rotated, pulled, or turned on/off Purpose is to be called from BotMovement in ElmerUpdater Coroutine - its shitty design I know - idk how to code nicely
- Parameters
-
void Cyan.Elmer.BotInteraction.DrawerInteractionCheck |
( |
int |
diosIndex | ) |
|
checks if the player was interacting with a drawer, from the running playData.
and updates the position of the drawer if the state is pulling drawers does not have a drawer index bc i am just always checking if a drawer is being interacted with - and if so - updating the position of it from pdata Note that a drawer only need to be interacted with once, to make it the selected item, and then interacted with once again to release it as the selected item
- Parameters
-
void Cyan.Elmer.BotInteraction.GetNewPlayData |
( |
string |
newTraj | ) |
|
The documentation for this class was generated from the following file:
- C:/Users/3D Intern/Documents/CornellTech-Unity3D/Assets/Scripts/Bot Elmer/BotInteraction.cs