private IEnumerator CrashHexogons() { while (true) { yield return(new WaitForSeconds(_timeCrashHexagon)); var tValue = Random.Range(0, _hexagons._hexagons.Count); _hexagons.CrashHexagon(tValue); } }
public void CrashHexagon(int index) { _hexagons.CrashHexagon(index); }