// Update is called once per frame void Update() { // Hitting P will toggle control camera if (Input.GetKeyDown(KeyCode.P)) { if (puim.IsStateControllingCamera()) { puim.MoveToState(PlayerUIManager.PlayerUIState.standardCardDrawer); } else { puim.MoveToState(PlayerUIManager.PlayerUIState.controllingCamera); } } // Cheat key to give you gold. else if (Input.GetKeyDown(KeyCode.F1)) { Money += 30; } // Press C to open up Card view. else if (Input.GetKeyDown(KeyCode.C)) { puim.ToggleShowMassCardView(); } // Press B to Buy a card. else if (Input.GetKeyDown(KeyCode.B)) { GetCardReward(30); } // Press V to open inVentory else if (Input.GetKeyDown(KeyCode.V)) { puim.ToggleInventoryVisible(); } else if (Input.GetKeyDown(KeyCode.F2)) { Card hanaFuda = CardFactory.GetCardTheme("hanafuda").GetRandomCardInTheme(); hanaFuda.Owner = this; GainInventoryCard(hanaFuda); } else if (Input.GetKeyDown(KeyCode.F3)) { GainSpiritPercentage(.05f); } else if (Input.GetKeyDown(KeyCode.F4)) { LoseSpirit(75); } }