예제 #1
0
        public void BuyShip()
        {
            ShipInfo info = SessionData.instance.shipServicer.GetShipItem(shipID);

            info.isUnlocked = true;
            HideMessageBox();
            shipMenu.OpenMenu();
        }
예제 #2
0
        public void RevealShips()
        {
            shopMenu.SetActive(false);
            inventoryMenu.SetActive(false);
            equipmentMenu.SetActive(false);

            shipMenu.SetActive(true);

            IShipMenu menu = shipMenu.GetComponent <IShipMenu>();

            menu.OpenMenu();
        }