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); }
void PlaceElementByIndexUnderCursor() { IUIElementGroupScroller groupScroller = (IUIElementGroupScroller)groupScrollerAdaptor.GetUIElement(); groupScroller.PlaceGroupElementUnderCursor(groupElementIndex); }