public void addNotify(NotifyId id, Action <INotifyData> action) { if (_notifyAction.ContainsKey((int)id)) { Debug.LogError("NotifyId:" + id + "already existed"); return; } _notifyAction.Add((int)id, action); GameNotifier.getInstance().addRecipient((int)id, this); }
void SheduleNotification(NotifyId id, string text, DateTime date) { MFNotificationService.Notify((int)id, new MFNotification("SHADOWGUN: DEADZONE", text, "app_icon", "", 1), date); }