Exemplo n.º 1
0
    void Start()
    {
        Debug.Log("InitOneSignal mono behaviour Start() -->");

        OneSignal.SetLogLevel(OneSignal.LOG_LEVEL.VERBOSE, OneSignal.LOG_LEVEL.NONE);

        OneSignal.StartInit(OS_APP_ID)
        .HandleNotificationOpened(HandleNotificationOpened)
        .EndInit();

        OneSignal.SetLocationShared(false);

        OneSignal.inFocusDisplayType = OneSignal.OSInFocusDisplayOption.Notification;
        Debug.Log("<-- InitOneSignal mono behaviour Start() done.");
    }