Exemple #1
0
    public void Setup()
    {
        gameObject.SetActive(true);

        Config.Init(this);

        ObservableCurrentSpeed.Item = Config.StartSpeed;
        Player.Setup();

        ServicesHolder.Instance.TimeService.StartCount(null, Config.FreqIncreaseSpeed, SpeedIncreaser, Int32.MaxValue, null, TimeService.EndlesTime.Endless);

        EnemySpawner.ActiveSpawner();
        ObservableScore.Item = 0;
    }