public static void RemoveBombPiece(BombPiece bombPiece) { if (mLiveBombsCheck.Contains(bombPiece)) { mLiveBombsCheck.Remove(bombPiece); } }
public static void AddBombPiece(BombPiece bombPiece, int startedNumber) { bombPiece.SetData(startedNumber, Random.Range(5, 7)); mLiveBombsCheck.Add(bombPiece); bombPiece.CountDown(bombPiece.NumberToReach - startedNumber); }