コード例 #1
0
        public void ActivateImple()
        {
            LoadAndFeedAllPanelsWithPlayerData();
            int equippedBowIndex = thisPlayerDataManager.GetEquippedBowIndex();

            thisBowPanelScroller.PlaceGroupElementUnderCursor(equippedBowIndex);

            if (!thisResourcePanel.IsShown())           //temp
            {
                thisResourcePanel.Show();
            }

            int currency = thisPlayerDataManager.GetCurrency();

            thisCurrencyPane.StartCurrencyUpdateProcess(currency);            //temp

            foreach (IBowUnlockButton button in thisBowUnlockButtons)
            {
                int unlockCost = thisPlayerDataManager.GetBowUnlockCostArray()[button.GetPanelIndex()];
                button.SetCostText(unlockCost);
            }
            thisBowConfigLabelPopText.Pop("Bow Customization", false);
        }
コード例 #2
0
        void PlaceElementByIndexUnderCursor()
        {
            IUIElementGroupScroller groupScroller = (IUIElementGroupScroller)groupScrollerAdaptor.GetUIElement();

            groupScroller.PlaceGroupElementUnderCursor(groupElementIndex);
        }