コード例 #1
0
 public static void RemoveBombPiece(BombPiece bombPiece)
 {
     if (mLiveBombsCheck.Contains(bombPiece))
     {
         mLiveBombsCheck.Remove(bombPiece);
     }
 }
コード例 #2
0
 public static void AddBombPiece(BombPiece bombPiece, int startedNumber)
 {
     bombPiece.SetData(startedNumber, Random.Range(5, 7));
     mLiveBombsCheck.Add(bombPiece);
     bombPiece.CountDown(bombPiece.NumberToReach - startedNumber);
 }