public void OpenChat(ChatMessageClickEvent e, Node any, [JoinAll] ActiveLobbyChat activeChannel, [JoinAll] SingleNode <SelfUserComponent> self)
        {
            OpenPersonalChannelEvent eventInstance = new OpenPersonalChannelEvent {
                UserUid = e.Link
            };

            base.NewEvent(eventInstance).Attach(self).Attach(activeChannel).Schedule();
        }
Beispiel #2
0
 public void OnClick(PointerEventData eventData, string link)
 {
     if (!this.Message.System)
     {
         ChatMessageClickEvent eventInstance = new ChatMessageClickEvent {
             EventData = eventData,
             Link      = link
         };
         base.ScheduleEvent(eventInstance, new EntityStub());
         if (Input.GetKey(KeyCode.LeftShift))
         {
             GUIUtility.systemCopyBuffer = link;
         }
     }
 }