示例#1
0
    public void Awake()
    {
        gameManager = this;

        //playerMovement.Init();
        platformBuilder.Init();
        //platformBuilder.StartGame();
    }
 public void BuildLevel()
 {
     _generalPlatform = Instantiate(_generalPlatformPrefab,
                                    _generalPlatformStartingPosition,
                                    Quaternion.Euler(0f, 45f, 0),
                                    _platformBuilderTransform);
     _platformBuilder.Init();
     _platformBuilder.Build(_maxPlatforms);
 }