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(); }
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; } } }