示例#1
0
    private IEnumerator CrashHexogons()
    {
        while (true)
        {
            yield return(new WaitForSeconds(_timeCrashHexagon));

            var tValue = Random.Range(0, _hexagons._hexagons.Count);
            _hexagons.CrashHexagon(tValue);
        }
    }
示例#2
0
 public void CrashHexagon(int index)
 {
     _hexagons.CrashHexagon(index);
 }