// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { menu_status = !menu_status; menu_root.SetActive(menu_status); menu_charac mc = charac.gameObject.GetComponent <menu_charac> (); mc.refresh(); } }
public void ChangeToCharac() { menu_charac mc = charac.gameObject.GetComponent <menu_charac> (); mc.refresh(); }