void Update() { /*if(Input.GetKeyDown(KeyCode.Space)) { * for(int i=0; i<btnList.Length; i++) * btnList[i].interactable = !btnList[i].interactable; * }*/ if (Input.GetKeyDown(KeyCode.Escape)) { menuPopup.ChangeShow(); if (inventoryPopup.isShow) { inventoryPopup.ChangeShow(); } SetCursorEnable(!Cursor.visible); } }