Exemple #1
0
 public void DarkenPieces(GameObject[] pieces)
 {
     foreach (GameObject piece in pieces)
     {
         PieceAnimation pieceAnimation = piece.GetComponent <PieceAnimation>();
         pieceAnimation.DarkenPieceLight();
     }
 }
Exemple #2
0
 public void IlluminatePieces(GameObject[] pieces)
 {
     foreach (GameObject piece in pieces)
     {
         PieceAnimation pieceAnimation = piece.GetComponent <PieceAnimation>();
         pieceAnimation.IlluminatePieceLight();
     }
 }
Exemple #3
0
 //gwp
 public virtual void setPieceAnima()
 {
     pieceAnima = model.GetComponent<PieceAnimation> ();
 }