Ejemplo n.º 1
0
 void Start()
 {
     Instance     = this;
     currentLives = maxLives;
     DontDestroyOnLoad(gameObject);
     LivesUIController.Instance.Render(currentLives, maxLives);
 }
Ejemplo n.º 2
0
    private void Start()
    {
        playerLifeCounter = GetComponent <PlayerLifeCounter>();
        sledSpawner       = GetComponent <SledSpawner>();

        currentState = State.Intro;
        IntroScreen.SetActive(true);
    }