常用方法
常用方法
常用方法
常用方法
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."); }