public void InitInvCtl() { itemList = new List <Item>(); gameCtl = GameController.GetInstance(); player = gameCtl.GetPlayer(); isMenuOpen = false; menuCd = 0; GameObject menu = GameObject.Find("InventoryMenu"); menu.transform.GetChild(0).gameObject.SetActive(true); invMenu = menu.GetComponent <InventoryMenu>(); invMenu.InitMenu(); invMenu.CloseMenu(); #if UNITY_EDITOR //Default inventory //AddSmokeScreen(); //AddBlockade(); #endif }