예제 #1
0
        public AddInviteDialog CreateAddInviteDialog(EventInviteResponseDialog eventDialog)
        {
            AddInviteDialog addInviteDialog = this.InstantiateDialog <AddInviteDialog>(this.m_addInviteDialogPrefab, this.Level3Canvas);

            addInviteDialog.EventDialog = eventDialog;
            return(addInviteDialog);
        }
예제 #2
0
        public EventInviteResponseDialog CreateEventInviteResponseDialog(CalendarEventItem eventItem)
        {
            EventInviteResponseDialog eventInviteResponseDialog = this.InstantiateDialog <EventInviteResponseDialog>(this.m_eventInviteResponseDialogPrefab, this.Level3Canvas);

            eventInviteResponseDialog.SetCalendarEvent(eventItem);
            return(eventInviteResponseDialog);
        }
예제 #3
0
        public void OpenEventItem()
        {
            if (this.EventData.CalendarType == CalendarType.Holiday)
            {
                Singleton <DialogFactory> .Instance.CreateHolidayDetailsPanel(this.EventData);
            }
            else
            {
                EventInviteResponseDialog dialog = Singleton <DialogFactory> .Instance.CreateEventInviteResponseDialog(this);

                base.GetComponentInParent <EventsListPanel>().OnEventSelected(dialog);
            }
        }