void exit() { manager pum = GameObject.FindObjectOfType(typeof(manager)) as manager; pum.RestartBtnClicked(); }