コード例 #1
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         ItemIconCtrl.ResetThis();
         UIImageChanger.Release();
         MainManuSceneMove.GotoScene("MainManu");
     }
 }
コード例 #2
0
    IEnumerator MoveScene()
    {
        for (int i = 0; i < 2; i++)
        {
            TempMenu[i].StopAllCoroutines();
        }
        StopCoroutine("ItemSelect");
        yield return(new WaitForSeconds(1f));

        //StopAllCoroutines();
        for (int i = 0; i < 2; i++)
        {
            GameData.ins.EquipmentCode[i] = ItemCode[i];
            GameData.ins.PotionCode[i]    = ItemCode[i + 2];
        }
        ItemIconCtrl.ResetThis();
        UIImageChanger.Release();
        SceneManager.LoadScene("Main");//씬변경
    }