VRChatMono UIDialog

Dialog

Displays a dialog or a component that looks like a dialog.

Context
GameObject/Mono UI/Provider/Dialog
Assets
/Packages/Mono UI/Runtime/Assets/Prefab/Providers/Dialog Provider.prefab
Component Preview

Installation

Place the dialog provider

Place the Dialog Provider component directly under the Canvas component in your Unity hierarchy.

💡

For proper functionality, the Dialog Provider must be placed as an immediate child of the Canvas component.

Canvas

Usage

Add the provider to the button’s OnClick

Add the provider to the button’s OnClick and set MonoUI_Dialog_isTrigger in Animator.SetTrigger (string) to call the dialog.

Canvas

Set up the functions for Continue and Cancel buttons

Add the functions you want to call to the OnClick events of the Continue or Cancel buttons. These can be set in Dialog Provider/Foreground/Container/Button Container/Button Outline or Button components.

Canvas
Dialog Provider
Background
Button
Foreground
Outline
Container
Title - Text h4 (TMP)
Underline
Description - Text h5 (TMP)
Underline
Button Container
Button Outline
Text h5 (TMP)
Underline
Button
Text h5 (TMP)
Underline

Examples

Primary

Context
GameObject/Mono UI/Provider/Dialog
Assets
/Packages/Mono UI/Runtime/Assets/Prefab/Providers/Dialog Provider.prefab
Component Preview