예제 #1
0
    private void Awake()
    {
        platformGenerator = new PlatformGenerator(platforms);
        platformGenerator.CreatePlatforms();

        starGenerator = new StarGenerator(stars, player.gameObject);
        starGenerator.CreateStars(starDensity);

        cloudGenerator = new CloudGenerator(clouds, player.gameObject);
        cloudGenerator.CreateClouds(cloudDensity);


        killZone = GameObject.FindWithTag("Kill Zone");
    }