Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
335 B
5
Indexable
Never
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}";
        }