void OnUIChangeState(UIGame.states state) { if (state == UIGame.states.PLAYING) { RefreshButtons(); } }
void OnUIChangeState(UIGame.states state) { if (state == UIGame.states.PLAYING) { panel.SetActive(false); } }