コード例 #1
0
 public void DoClick()
 {
     EmoteHandler.Get().ResetTimeSinceLastEmote();
     GameState.Get().GetFriendlySidePlayer().GetHeroCard().PlayEmote(this.emoteType);
     Network.Get().SendEmote(this.emoteType);
     EmoteHandler.Get().HideEmotes();
 }
コード例 #2
0
 private void Update()
 {
     if (EmoteHandler.Get().EmoteSpamBlocked())
     {
         if (!this.textIsGrey)
         {
             this.textIsGrey            = true;
             this.displayText.TextColor = new Color(0.5372549f, 0.5372549f, 0.5372549f);
         }
     }
     else if (this.textIsGrey)
     {
         this.textIsGrey            = false;
         this.displayText.TextColor = new Color(0f, 0f, 0f);
     }
 }