Cornell Tech-Unity-project
1.0
|
Attached to player, player can interact with items in room that contain the tag "object" More...
Public Member Functions | |
void | ShootRay () |
Shoots out a Raycast if the player is not interacting with anything to look for an item to interact with. Otherwise stops any interactions AS long as the item won't clip through a wall More... | |
Public Attributes | |
GameObject | selectedItem |
bool | greaterControl |
InteractStates | currentAction |
bool | gotMovementTip = false |
bool | gotHoldTip = false |
bool | gotInteractTip = false |
bool | gotDrawerTip = false |
bool | gotCabinetTip = false |
Attached to player, player can interact with items in room that contain the tag "object"
void Interact.ShootRay | ( | ) |
Shoots out a Raycast if the player is not interacting with anything to look for an item to interact with. Otherwise stops any interactions AS long as the item won't clip through a wall
InteractStates Interact.currentAction |
bool Interact.gotCabinetTip = false |
bool Interact.gotDrawerTip = false |
bool Interact.gotHoldTip = false |
bool Interact.gotInteractTip = false |
bool Interact.gotMovementTip = false |
bool Interact.greaterControl |
GameObject Interact.selectedItem |