Attached to anything that can open.
More...
Inherits MonoBehaviour.
|
void | slideOut (float mouseInput) |
| Translates door based on mouseinput from vertical axis (x axis) Clamps the door from pulling past its original location and the slide max More...
|
|
void | slideOutZ (float mouseInput) |
| Translates drawer based on mouseinput from vertical axis on the z axis Clamps the door from pulling past its original location and the slide max More...
|
|
void | swingOut (float mouseInput) |
| Rotates door by right/left hinge (y axis) Clamps door from swinging past original location and hingemax More...
|
|
void | swingDown (float mouseInput) |
| Rotates door on its bottom hinge (z axis) Clamps door from swinging past original location and hinge max More...
|
|
void | toiletSeat (float mouseInput) |
| Rotates toilet seat cover z axis Clamps from exceeding 95 degrees and below 0 More...
|
|
void | ActivateDrawer () |
|
Attached to anything that can open.
Drawers/cabinets are clamped to not over close/open
void Cyan.Open.ActivateDrawer |
( |
| ) |
|
void Cyan.Open.slideOut |
( |
float |
mouseInput | ) |
|
Translates door based on mouseinput from vertical axis (x axis) Clamps the door from pulling past its original location and the slide max
- Parameters
-
mouseInput | vertical axis mouse input |
void Cyan.Open.slideOutZ |
( |
float |
mouseInput | ) |
|
Translates drawer based on mouseinput from vertical axis on the z axis Clamps the door from pulling past its original location and the slide max
- Parameters
-
mouseInput | vertical axis mouse input |
void Cyan.Open.swingDown |
( |
float |
mouseInput | ) |
|
Rotates door on its bottom hinge (z axis) Clamps door from swinging past original location and hinge max
- Parameters
-
mouseInput | vertical mouse input |
void Cyan.Open.swingOut |
( |
float |
mouseInput | ) |
|
Rotates door by right/left hinge (y axis) Clamps door from swinging past original location and hingemax
- Parameters
-
mouseInput | horizontal mouse input |
void Cyan.Open.toiletSeat |
( |
float |
mouseInput | ) |
|
Rotates toilet seat cover z axis Clamps from exceeding 95 degrees and below 0
- Parameters
-
mouseInput | vertical mouse input |
bool Cyan.Open.isClosed = true |
The documentation for this class was generated from the following file:
- C:/Users/3D Intern/Documents/CornellTech-Unity3D/Assets/Scripts/Interactions/Open.cs