public void SendNotification(Notification_SO notification) { StartCoroutine(NotificationDelay()); MoveNotification(true); notificationTitle.text = notification.getTitle(); systemMessagesReader.CreateNewMessage(notification); AudioManager.instance.Play("notificationSound"); }
public void CreateNewMessage(Notification_SO messageSO) { CreateNewMessage(messageSO.getTitle(), messageSO.getBody()); }
public GameObject CreateNewMessage(Notification_SO messageSO) { GameObject aux = CreateNewMessage(messageSO.getTitle(), messageSO.getBody()); return(aux); }