void Start() { _panelNotification = FindObjectOfType <PanelNotification>(); _leaderboard = FindObjectOfType <Leaderboard>(); _leaderboard.RequestEntriesOrderByCombo(UpdateEntries, DisplayServerError); _loadingImg.SetActive(true); }
public void Handle(AddPanelNotificationEvent @event) { var panelNotification = new PanelNotification(@event.Id, @event.Title, @event.Body, @event.PanelNotificationType, @event.AdditionalData); _repository.Add(panelNotification); SignalRSender.NotifyShopCreated(new PanelNotificationMessage(@event.Id, @event.Title, @event.Body, @event.PanelNotificationType, @event.AdditionalData)); }
void Start() { _panelNotification = FindObjectOfType <PanelNotification>(); _leaderboard = FindObjectOfType <Leaderboard>(); _button.interactable = false; _button.image.raycastTarget = false; if (HasPendingRecord()) { InsertPendingRecord(); } }
private void pictureBox12_Click(object sender, EventArgs e) { PanelNotification.BringToFront(); }
private void PanelNotificationBtnNotification_Click(object sender, EventArgs e) { PanelNotification.BringToFront(); }
public static IPanelNotificationDto ToDto(this PanelNotification src) { return(Mapper.Map <IPanelNotificationDto>(src)); }