Ejemplo n.º 1
0
        public AddInviteDialog CreateAddInviteDialog(EventInviteResponseDialog eventDialog)
        {
            AddInviteDialog addInviteDialog = this.InstantiateDialog <AddInviteDialog>(this.m_addInviteDialogPrefab, this.Level3Canvas);

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

            eventInviteResponseDialog.SetCalendarEvent(eventItem);
            return(eventInviteResponseDialog);
        }
Ejemplo n.º 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);
            }
        }