void Awake() { time = FindObjectOfType <Scr_TimeControl>(); num = FindObjectOfType <Scr_Num>(); news = FindObjectOfType <Scr_News>(); LoadControl = FindObjectOfType <Scr_Load>(); EventGroup.SetActive(false); CG.SetActive(false); }
void Start() { Time = FindObjectOfType <Scr_TimeControl>(); Provinces = FindObjectOfType <Scr_Color>(); Events = FindObjectOfType <Scr_Event>(); Num = FindObjectOfType <Scr_Num>(); Tech = FindObjectOfType <Scr_Tech>(); News = FindObjectOfType <Scr_News>(); Statistic = FindObjectOfType <Scr_Statistic>(); BlackG.SetActive(false); }