A VRChat Notification System for your world. Includes built in support for Player Join/Leave notification and outdated instance warning.
MIT License
A VRChat Notification System for your world. Use this prefab for sending notification messages to players. You can use it for sending error messages, hints, tooltips, visual feedback after interacting with objects or use some of the built in features like:
Additionally supports:
A preview VRChat world is available here.
Download the prefab from releases, double click the .unitypackage
and in Unity click on Import
. Make sure to also import the required TextMeshPro Assets if you haven't already!
Finally, Drag and Drop the Assets/UdonNotifier/NotificationManager
Prefab into your Scene.
The NotificationManager
contains following scripts that can individually be configured:
Update Notifier Will automatically warn the player if they joined an outdated instance of your world. This can be useful if you have many active players in your world and frequently update your world, as things might get broken when players with different versions of your world join the same instance. You can change the message and display duration in the settings. Disable the Component if you don't need this. Additionally it will display a debug log message that shows the version and upload date of both the instance and your local version.
Sending a custom notification from UdonSharp is as easy as:
using DeanCode;
// Reference to the NotificationManager GameObject
[SerializeField] NotificationManager manager;
void Start()
{
// Send a `Hello World!` Notification with a warning symbol for 10 seconds
manager.SendNotification("Hello World!", NotificationType.Warning, 10);
}
Crediting this prefab is not required, but if you do it is very appreciated <3