示例#1
0
 public void Hide()
 {
     if (this.m_quickChatFrame != null)
     {
         UnityEngine.Object.Destroy(this.m_quickChatFrame.gameObject);
         this.m_quickChatFrame = null;
     }
 }
示例#2
0
 public void ShowForPlayer(BnetPlayer player)
 {
     if (this.m_quickChatFrame == null)
     {
         UnityEngine.GameObject obj2 = AssetLoader.Get().LoadGameObject("QuickChatFrame", true, false);
         if (obj2 != null)
         {
             this.m_quickChatFrame = obj2.GetComponent <QuickChatFrame>();
             this.m_quickChatFrame.SetReceiver(player);
         }
     }
 }