protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     SoundManager.Get().LoadAndPlay("collection_manager_card_mouse_over");
     this.m_actor.SetActorState(ActorStateType.CARD_MOUSE_OVER);
     KeywordHelpPanelManager.Get().UpdateKeywordHelpForDeckHelper(this.m_actor.GetEntityDef(), this.m_actor);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     this.m_hoverGlow.SetActive(false);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     object[] args = new object[] { "position", base.GetOriginalLocalPosition(), "isLocal", true, "time", 0.15f };
     iTween.MoveTo(base.gameObject, iTween.Hash(args));
     this.m_highlight.SetActive(false);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     this.m_actor.SetActorState(ActorStateType.CARD_IDLE);
     KeywordHelpPanelManager.Get().HideKeywordHelp();
 }
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     base.GetComponent <TooltipZone>().ShowTooltip(GameStrings.Get("GLUE_TOOLTIP_GOLDEN_WINS_HEADER"), GameStrings.Get("GLUE_TOOLTIP_GOLDEN_WINS_DESC"), 5f, true);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     base.GetComponent <TooltipZone>().HideTooltip();
     this.UpdateHighlight();
 }
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     SoundManager.Get().LoadAndPlay("collection_manager_hero_mouse_over", base.gameObject);
     this.ShowHighlight(true);
     base.StartCoroutine(this.ShowRewardCard());
 }
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     this.m_text.TextColor = Color.white;
 }
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     SoundManager.Get().LoadAndPlay("collection_manager_hero_mouse_over", base.gameObject);
     this.m_highlight.ChangeState(ActorStateType.HIGHLIGHT_MOUSE_OVER);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     this.ShowHighlight(false);
     this.HideRewardCard();
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     this.m_highlight.ChangeState(ActorStateType.HIGHLIGHT_OFF);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     base.OnOut(oldState);
     this.m_highlight.ChangeState(!this.m_selected ? ActorStateType.NONE : ActorStateType.HIGHLIGHT_PRIMARY_ACTIVE);
 }
Example #13
0
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     this.m_button.gameObject.transform.localPosition = this.m_originalButtonPosition;
 }
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     SoundManager.Get().LoadAndPlay("tiny_button_mouseover_2");
     this.m_hoverGlow.SetActive(true);
 }
Example #15
0
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     this.ShowHighlight(true);
 }
 protected override void OnOut(PegUIElement.InteractionState oldState)
 {
     this.m_text.TextColor = Color.black;
 }
 protected override void OnOver(PegUIElement.InteractionState oldState)
 {
     this.UpdateHighlight();
 }
Example #18
0
 public void OnOver(PegUIElement.InteractionState oldState)
 {
     object[] objArray1 = new object[] { oldState };
     base.method_8("OnOver", objArray1);
 }
Example #19
0
 public void SetState(PegUIElement.InteractionState state)
 {
     base.SetEnabled(true);
 }