예제 #1
0
 // 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();
     }
 }
예제 #2
0
    public void ChangeToCharac()
    {
        menu_charac mc = charac.gameObject.GetComponent <menu_charac> ();

        mc.refresh();
    }