C# Class DiceControllerScript, Spare-Change

Inheritance: MonoBehaviour
Datei anzeigen 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_oe property

public List DiceMats
return List

d10 public_oe property

public GameObject d10
return GameObject

d100 public_oe property

public GameObject d100
return GameObject

d12 public_oe property

public GameObject d12
return GameObject

d20 public_oe property

public GameObject d20
return GameObject

d4 public_oe property

public GameObject d4
return GameObject

d6_r_d public_oe property

public GameObject d6_r_d
return GameObject

d6_r_p public_oe property

public GameObject d6_r_p
return GameObject

d6_s_d public_oe property

public GameObject d6_s_d
return GameObject

d6_s_p public_oe property

public GameObject d6_s_p
return GameObject

d8 public_oe property

public GameObject d8
return GameObject