예제 #1
0
    IEnumerator DestroyPlanet()
    {
        yield return(new WaitForSeconds(0.5f));

        if (planet != null)
        {
            Destroy(planet.gameObject);
            planet = null;
            slotController.CheckFieldForMove();
        }
    }