Untitled
Anonymous
plain_text
09/26/2023 11:30 AM
448 B
20
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...