C# Class UpgradeMenu, verthex

Inheritance: MonoBehaviour
Show file Open project: austinblakeslee/verthex Class Usage Examples

Public Properties

Property Type Description
boxSize Vector2
buttonSize Vector2
click UnityEngine.AudioClip
squareStyle UnityEngine.GUISkin

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
FindPos ( int i, Rect rect ) : Rect
MakeBox ( string text, Rect rect ) : GameObject
MakeButton ( string text, Rect rect ) : GameObject
createGUIButton ( string scriptName, string goName, Rect itemButtonRect ) : GameObject
editUpgradeButton ( GameObject upgradeButton, string oldScriptName, string scriptName, string goName ) : GameObject

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

boxSize public property

public Vector2 boxSize
return Vector2

buttonSize public property

public Vector2 buttonSize
return Vector2

click public property

public AudioClip,UnityEngine click
return UnityEngine.AudioClip

squareStyle public property

public GUISkin,UnityEngine squareStyle
return UnityEngine.GUISkin