Cornell Tech-Unity-project  1.0
Public Member Functions | Public Attributes | List of all members
TipsScreen Class Reference

Handles the UI elements for the tipsscreen More...

Inheritance diagram for TipsScreen:

Public Member Functions

void giveTip (string tipname)
 Sets the tip text on the UI text element More...
 

Public Attributes

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"
 

Detailed Description

Handles the UI elements for the tipsscreen

Member Function Documentation

void TipsScreen.giveTip ( string  tipname)

Sets the tip text on the UI text element

Parameters
tipnameThe tip the player will recieve

Member Data Documentation

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"
Interact TipsScreen.player
Hover TipsScreen.playerHover
Image TipsScreen.rkeyImg
Text TipsScreen.text
Image TipsScreen.textBackground
string TipsScreen.tiptext = "tips"
float TipsScreen.tipTime = 5f
Image TipsScreen.wasdImg

The documentation for this class was generated from the following file: