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