Exemplo n.º 1
0
 protected override void Start()
 {
     base.Start();
     shootQueue = GetComponent<ShootQueue>();
     shootQueuePiece = GetComponentInChildren<Piece>();
     shootQueueHUD = GetComponentInChildren<ShootQueueHUD>();
 }
Exemplo n.º 2
0
 public void UpdateHUD(ref ShootQueue queue)
 {
     for (int i = 0; i < spriteRens.Count; i++)
     {
         SetSpriteByColor(i, queue.GetPieceColorAt(i + 1));
     }
 }