C# Class DiceControllerScript, Spare-Change

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

Public Properties

Property Type Description
DiceMats List
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

Public Methods

Method Description
ClearDice ( ) : void
Start ( ) : void
ThrowDice ( Roll, roll, bool bLookAt = true ) : void
Update ( ) : void

Private Methods

Method Description
CreateDie ( string dieName ) : GameObject

Creates the die.

InstantiateDie ( GameObject diePrefab ) : GameObject

Instantiates the die.

Utilities ( ) : UtilitiesScript,

Method Details

ClearDice() public method

public ClearDice ( ) : void
return void

Start() public method

public Start ( ) : void
return void

ThrowDice() public method

public ThrowDice ( Roll, roll, bool bLookAt = true ) : void
roll Roll,
bLookAt bool
return void

Update() public method

public Update ( ) : void
return void

Property Details

DiceMats public property

public List DiceMats
return List

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