messagebox

Provide asynchronous modal dialogs for Unity using UniTask.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/luxuia/testgame2 --skill messagebox-luxuia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: messagebox
Source: https://github.com/luxuia/testgame2/tree/main/.cursor/skills/messagebox
Command: npx skills add https://github.com/luxuia/testgame2 --skill messagebox-luxuia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a seamless way to display asynchronous modal dialogs in Unity applications, allowing for user interaction without blocking the main game loop.

Core Features & Use Cases

  • Non-blocking Dialogs: Uses UniTask to ensure dialogs don't freeze your game.
  • Confirmation Prompts: Handles Yes/No, OK/Cancel, and custom button text scenarios.
  • Use Case: Display a "Are you sure you want to delete this item?" confirmation before a player loses progress.

Quick Start

Show a confirmation dialog with custom button text by awaiting MessageBox.Show.

Frequently Asked Questions about messagebox

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I show async modal dialogs in Unity without blocking the game loop?

Async modal dialogs in Unity can be shown without blocking the main game loop by using UniTask to await user input. This approach ensures your game continues rendering and processing events while waiting for the dialog response.

How does UniTask handle non-blocking confirmation prompts in Unity?

UniTask handles non-blocking confirmation prompts in Unity by allowing you to await the MessageBox.Show method asynchronously. This mechanism pauses dialog execution without freezing the main thread until the player selects a button.

Can I customize button text for OK Cancel and Yes No prompts in Unity?

Yes, you can customize button text for OK Cancel and Yes No prompts in Unity. The MessageBox Skill allows you to define custom labels for confirmation buttons when awaiting the user's input response.

What is the best way to manage modal dialog lifecycle and dispose pooled instances in Unity?

The best way to manage modal dialog lifecycle in Unity is to use the Skill's built-in methods for closing and disposing pooled instances. This ensures proper memory management after awaiting the UniTask dialog response.

Do I need UniTask to display asynchronous UI popups in Unity?

Yes, you need UniTask to display asynchronous UI popups with this Skill because it relies on UniTask to manage asynchronous operations. It provides the necessary non-blocking framework to await user input without freezing the game.

When should I use async dialogs instead of synchronous UI overlays in Unity?

You should use async dialogs in Unity when you need to pause script execution for user input without freezing the entire application. This is ideal for critical confirmation prompts where blocking the main thread would cause performance issues.