danielfvm / UdonNotifier

A VRChat Notification System for your world. Includes built in support for Player Join/Leave notification and outdated instance warning.
MIT License
7 stars 0 forks source link
notification prefab udonsharp unity vrchat

UdonNotifier v2

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.

image

Installation

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!

image

Finally, Drag and Drop the Assets/UdonNotifier/NotificationManager Prefab into your Scene.

Configuration

The NotificationManager contains following scripts that can individually be configured:

image

image

Custom Messages

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);
}

Credits

Crediting this prefab is not required, but if you do it is very appreciated <3