Handles the UI elements for the tipsscreen
More...
|
void | giveTip (string tipname) |
| Sets the tip text on the UI text element More...
|
|
|
Interact | player |
|
Hover | playerHover |
|
float | tipTime = 5f |
|
Image | textBackground |
|
Image | mouseImg |
|
Image | wasdImg |
|
Image | rkeyImg |
|
Text | text |
|
string | tiptext = "tips" |
|
string | movementTip = "Use the WASD keys to move and your mouse to look around and interract" |
|
string | holdTip = "Press R to rotate an item that you are holding and left click to release the item" |
|
string | interactTip = "When your pointer turns blue, you can click your left mouse button to interact with an item" |
|
string | drawerTip = "Move your mouse forward and backward to pull and push drawers. Left click to stop interacting with the drawer" |
|
string | cabinetTip = "Move your mouse left and right to swing open and close doors. For dishwashers and ovens, move your mouse forward and backward. Left click to stop interacting with the door" |
|
Handles the UI elements for the tipsscreen
void TipsScreen.giveTip |
( |
string |
tipname | ) |
|
Sets the tip text on the UI text element
- Parameters
-
tipname | The tip the player will recieve |
string TipsScreen.cabinetTip = "Move your mouse left and right to swing open and close doors. For dishwashers and ovens, move your mouse forward and backward. Left click to stop interacting with the door" |
string TipsScreen.drawerTip = "Move your mouse forward and backward to pull and push drawers. Left click to stop interacting with the drawer" |
string TipsScreen.holdTip = "Press R to rotate an item that you are holding and left click to release the item" |
string TipsScreen.interactTip = "When your pointer turns blue, you can click your left mouse button to interact with an item" |
Image TipsScreen.mouseImg |
string TipsScreen.movementTip = "Use the WASD keys to move and your mouse to look around and interract" |
Hover TipsScreen.playerHover |
Image TipsScreen.textBackground |
string TipsScreen.tiptext = "tips" |
float TipsScreen.tipTime = 5f |
The documentation for this class was generated from the following file:
- C:/Users/3D Intern/Documents/CornellTech-Unity3D/Assets/Scripts/UI/TipsScreen.cs