generated from pancake-llc/package
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
yenmoc edited this page Jun 26, 2023
·
6 revisions
Simple api to push notification in game
First you need to create a notification channel that can be used through the menu
Create
> Pancake
> Misc
> Notification Channel
- Identifier : Unique identifier for the channel
- Minute: Delay time will send notification
- Repeat: Does the notification repeat or not?
- Big Picture: If true this channel will use Name Picture value to fetch image from StreamingAsset to display as big picture
- Name Picture: File bigpicture must be place in folder StreamingAsset, Name Picture must contains file extension ex .jpg. If it's in a subfolder in a streaming asset, NamePicture must include the relative path
Datas : Contains a list of titles and messages that can be displayed on this channel if more than 1 when scheduled, it will randomize the value in the array to select title and message
Is a script to preload bigpicture from streaming asset. It is placed in the PersistentScene, please drag and drop the channels that use bigpicture into the notification variable array so that it can pre-load