Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 void SheduleNotification(NotifyId id, string text, DateTime date)
 {
     MFNotificationService.Notify((int)id, new MFNotification("SHADOWGUN: DEADZONE", text, "app_icon", "", 1), date);
 }