C# Class CubeChunk, Cubes-in-Space

Inheritance: MonoBehaviour
Afficher le fichier Open project: eric-kansas/Cubes-in-Space Class Usage Examples

Méthodes publiques

Свойство Type Description
CubeArray List
id int

Méthodes publiques

Méthode Description
BindCubeArray ( List array, int myId ) : void
Start ( ) : void
Update ( ) : void
setSideColor ( GameObject sideHit, Color color ) : void

A FUNCTION TO CHANGE THE COLOR OF A SIDE OF A CUBE

splashColor ( GameObject startObject, Color color ) : void

Private Methods

Méthode Description
RotateChunk ( ) : void
getSideIndex ( GameObject aSide ) : int

Method Details

BindCubeArray() public méthode

public BindCubeArray ( List array, int myId ) : void
array List
myId int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

setSideColor() public méthode

A FUNCTION TO CHANGE THE COLOR OF A SIDE OF A CUBE
public setSideColor ( GameObject sideHit, Color color ) : void
sideHit GameObject
color Color
Résultat void

splashColor() public méthode

public splashColor ( GameObject startObject, Color color ) : void
startObject GameObject
color Color
Résultat void

Property Details

CubeArray public_oe property

public List CubeArray
Résultat List

id public_oe property

public int id
Résultat int