public void GameReLoad() { gameUI.gameObject.SetActive(false); gameUI.IniUI(); mainUI.gameObject.SetActive(true); mainUI.FadeIn(); gameOverUI.gameObject.SetActive(false); plane.transform.localPosition = Vector3.zero; road.RoadReset(); role.RoleReset(); cf.transform.localPosition = new Vector3(15, 15, -8); cf.transform.eulerAngles = new Vector3(35, -45); gameStat = GameStat.Loaded; totalScore = 0; }