private void Awake() { FadingComponent = ScreenFadeGameObject.GetComponent <HonoFading>(); UIEventListener uiEventListener1 = UIEventListener.Get(UseSubMenu); uiEventListener1.Click += onClick; UIEventListener uiEventListener2 = UIEventListener.Get(ArrangeSubMenu); uiEventListener2.Click += onClick; UIEventListener uiEventListener3 = UIEventListener.Get(KeySubMenu); uiEventListener3.Click += onClick; foreach (Component component in TargetListPanel.GetChild(0).transform) { GameObject go = component.gameObject; UIEventListener uiEventListener4 = UIEventListener.Get(go); uiEventListener4.Click += onClick; _targetHudList.Add(new CharacterDetailHUD(go, true)); if (FF9StateSystem.MobilePlatform) { go.GetComponent <ButtonGroupState>().Help.TextKey = "TargetHelpMobile"; } } //this._importantItemHitArea = KeyItemDetailPanel.GetChild(0); _keyItemDetailName = KeyItemDetailPanel.GetChild(1).GetComponent <UILabel>(); _keyItemDetailDescription = KeyItemDetailPanel.GetChild(2).GetComponent <UILabel>(); _keyItemDetailDescription.PrintIconAfterProcessedText = true; _defaultSkinLabelSpacingY = _keyItemDetailDescription.spacingY; _itemScrollList = ItemListPanel.GetChild(1).GetComponent <RecycleListPopulator>(); _keyItemScrollList = KeyItemListPanel.GetChild(1).GetComponent <RecycleListPopulator>(); RemoveLeftAnchorFromItemNumberLabels(); UIEventListener uiEventListener5 = UIEventListener.Get(ArrangeDialog.GetChild(0).GetChild(0)); uiEventListener5.Click += onClick; UIEventListener uiEventListener6 = UIEventListener.Get(ArrangeDialog.GetChild(0).GetChild(1)); uiEventListener6.Click += onClick; _targetTransition = TransitionGroup.GetChild(0).GetComponent <HonoTweenPosition>(); _keyItemSkinTransition = TransitionGroup.GetChild(1).GetComponent <HonoTweenPosition>(); _arrangeTransition = TransitionGroup.GetChild(2).GetComponent <HonoTweenClipping>(); }
private void ClearUI() { foreach (BattleResultUI.CharacterBattleResultInfoHUD characterBattleResultInfoHUD in this.characterBRInfoHudList) { characterBattleResultInfoHUD.Content.SetActive(false); } foreach (ItemListDetailWithIconHUD itemListDetailWithIconHUD in this.itemHudList) { itemListDetailWithIconHUD.Self.SetActive(false); } HonoTweenPosition[] array = this.levelUpSpriteTween; for (Int32 i = 0; i < (Int32)array.Length; i++) { HonoTweenPosition honoTweenPosition = array[i]; honoTweenPosition.dialogList[0].SetActive(false); } HonoTweenClipping[] array2 = this.abilityLearnedPanelTween; for (Int32 j = 0; j < (Int32)array2.Length; j++) { HonoTweenClipping honoTweenClipping = array2[j]; honoTweenClipping.ClipGameObject.SetActive(false); } this.cardHud.Self.SetActive(false); }
public ClippingPanel(GameObject obj) : base(obj) { Clipping = obj.GetExactComponent <HonoTweenClipping>(); }