public void Dispose() { MainmenuWindowValue = null; _1MainPictureValue = null; NewgameButtonValue = null; OptionsButtonValue = null; ExitButtonValue = null; }
public void Dispose() { MarketWindowValue = null; _1ItemlistLabelValue = null; CloseButtonValue = null; BuyButtonValue = null; ItemlistGroupValue = null; ItemListValue = null; ItemGroupValue = null; ItemnameLabelValue = null; ItempriceLabelValue = null; ItemimagePictureValue = null; DescriptionGroupValue = null; DescriptionTextareaValue = null; DescriptionLabelValue = null; PriceLabelValue = null; NameLabelValue = null; }
void Awake(){ root = GetComponent<BitStage>(); gameControlWindow = root.FindControl<BitWindow>("EGameControlWindow"); conversation = gameControlWindow.FindControl<BitBox>("ConversationBox"); BitGroup headGroup = gameControlWindow.FindControl<BitGroup>("HeadGroup"); helpButton = headGroup.FindControl<BitButton>("help"); exitButton = headGroup.FindControl<BitButton>("exit"); progressBar = headGroup.FindControl<BitGroup>("progress_bg").FindControl<BitHorizontalProgressBar>(); tickCounter = gameControlWindow.FindControl<BitGroup>("TickCounter_bg").FindControl<BitVerticalProgressBar>(); centerGroup = gameControlWindow.FindControl<BitGroup>("CenterGroup"); skipDemoBtn = centerGroup.FindControl<BitButton>("SkipDemoBtn"); playDemoBtn = centerGroup.FindControl<BitButton>("PlayDemoBtn"); startButton = centerGroup.FindControl<BitButton>("start"); gameHelpWindow = root.FindControl<BitWindow>("EGameHelpWindow"); hPictureRender = gameHelpWindow.FindControl<BitPicture>(); hPreBtn = gameHelpWindow.FindControl<BitButton>("help_btn_prev"); hNextBtn = gameHelpWindow.FindControl<BitButton>("help_btn_next"); hCloseBtn = gameHelpWindow.FindControl<BitButton>("close"); hAlwaysShowHelp = gameHelpWindow.FindControl<BitToggle>(); gameWindow = root.FindControl<BitWindow>("GameWindow"); }
public MarketItemListPopulator(MarketWindowGuiAcessor accessor) { _itemPicture = accessor.ItemimagePicture; _nameLabel = accessor.ItemnameLabel; _priceLabel = accessor.ItempriceLabel; }