// restart public static void Restart() { UDP.Clear(); UIPlayers.Clear(); Match.Clear(); Account.Clear(); SceneManager.LoadScene(0); }