コード例 #1
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.T))
     {
         if (enter_dialod != null)
         {
             enter_dialod.GetComponent <DialogTrigger>().hintView(false);
             enter_dialod.GetComponent <DialogTrigger>().dialog_panel.SetActive(true);
         }
     }
     if (Input.GetKeyDown(KeyCode.B))
     {
         GetComponent <Player>().enabled = false;
         if (enter_battle != null)
         {
             enter_battle.hintView(false);
             SceneManager.LoadScene(enter_battle.scene);
         }
     }
 }