예제 #1
0
    // Start is called before the first frame update
    void Start()
    {
        // Assertions
        Assert.IsNotNull(redLavaAsteroidClasses);

        // Initializations
        spawnPointManager.settings = SpawnPointManagerSettings;
        spawnPoints = spawnPointManager.GenerateSpawnPoints(transform.position);
        asteroids   = new List <Asteroid>();

        // Coroutines
        StartCoroutine(SpawnLoop());
    }