Version: 2017.1

NotificationServices.PresentLocalNotificationNow

매뉴얼로 전환
public static void PresentLocalNotificationNow (iOS.LocalNotification notification);

설명

Presents a local notification immediately.

    function Start()
    {
        var notif = new LocalNotification();
        notif.alertBody = "Hello!";
        NotificationServices.PresentLocalNotificationNow(notif);
    }

function Update() { if (NotificationServices.localNotificationCount > 0) { Debug.Log(NotificationServices.localNotifications[0].alertBody); NotificationServices.ClearLocalNotifications(); } }