C# Class UI_mgr, Spare-Change

Inheritance: MonoBehaviour
Show file Open project: ThatsAMorais/Spare-Change

Public Properties

Property Type Description
DiceMats List
createSpot Transform
cube GameObject
d10 GameObject
d100 GameObject
d12 GameObject
d20 GameObject
d4 GameObject
d6_r_d GameObject
d6_r_p GameObject
d6_s_d GameObject
d6_s_p GameObject
d8 GameObject
throwForce float

Public Methods

Method Description
Awake ( ) : void
OnGUI ( ) : void
QueueDieThrow ( string diceType, int quantity, string description ) : void
ThrowDice ( Throw, dieThrow, Vector3 startPosition, Vector3 endPosition ) : void
Update ( ) : void

Private Methods

Method Description
CreateDie ( string dieName ) : GameObject
GUIButtonRect ( ) : Rect

Method Details

Awake() public method

public Awake ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

QueueDieThrow() public method

public QueueDieThrow ( string diceType, int quantity, string description ) : void
diceType string
quantity int
description string
return void

ThrowDice() public method

public ThrowDice ( Throw, dieThrow, Vector3 startPosition, Vector3 endPosition ) : void
dieThrow Throw,
startPosition Vector3
endPosition Vector3
return void

Update() public method

public Update ( ) : void
return void

Property Details

DiceMats public property

public List DiceMats
return List

createSpot public property

public Transform createSpot
return Transform

cube public property

public GameObject cube
return GameObject

d10 public property

public GameObject d10
return GameObject

d100 public property

public GameObject d100
return GameObject

d12 public property

public GameObject d12
return GameObject

d20 public property

public GameObject d20
return GameObject

d4 public property

public GameObject d4
return GameObject

d6_r_d public property

public GameObject d6_r_d
return GameObject

d6_r_p public property

public GameObject d6_r_p
return GameObject

d6_s_d public property

public GameObject d6_s_d
return GameObject

d6_s_p public property

public GameObject d6_s_p
return GameObject

d8 public property

public GameObject d8
return GameObject

throwForce public property

public float throwForce
return float