コード例 #1
0
ファイル: GameManager.cs プロジェクト: msantana09/Runner
    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");
    }