public void SetManualScore(int _manualScore)
 {
     GameStatus.GetInstance().Score += _manualScore;
 }
 private void GetScore()
 {
     GameStatus.GetInstance().Score += _score;
 }
Ejemplo n.º 3
0
 // Update is called once per frame
 void Update()
 {
     GetComponent <Text>().text = "Score: " + GameStatus.GetInstance().Score
                                  + " Lives: " + GameStatus.GetInstance().NumLives + " Level: "
                                  + GameStatus.GetInstance().PlayerLevel;
 }
Ejemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     GameStatus.GetInstance().GoldCoins   = 0;
     GameStatus.GetInstance().SilverCoins = 0;
     GameStatus.GetInstance().BronzeCoins = 0;
 }
Ejemplo n.º 5
0
 public void OpenStartScreen()
 {
     _inputController.gameObject.SetActive(true);
     _currentGameStatus = GameStatus.WaitForStart;
 }