コード例 #1
0
    /// <summary>
    /// Devide the asteroid into the next type.
    /// </summary>
    private void DestroyAsteroid()
    {
        int nextAsteroidType = type / 2;

        asteroidMgr.ActivateAsteroidFromDivision(nextAsteroidType, transform.position);
        asteroidMgr.ActivateAsteroidFromDivision(nextAsteroidType, transform.position);
    }