Untitled

 avatar
unknown
plain_text
2 years ago
335 B
9
Indexable
1. public override void StartAction()
        {
            _gameObject = UIController.Instance.HookWindow(new EndWindow());
            _gameObject.GetComponent<EndWindow>().SetScore(_endScore);
        }
        


2.    public void SetScore(int score)
        {
            _score.text = $"Your score: {score}";
        }
Editor is loading...