Skip to content

About

Show iOS/Android native dialog from Unity.

Topics

Resources

Stars

161 stars

Watchers

11 watching

Forks

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Native Dialog Plugin

A lightweight Unity plugin for displaying native iOS and Android dialog boxes. Perfect for confirmation prompts, alerts, and user notifications with platform-specific styling.

🚀 Quick Start

Basic Usage

using NativeDialog;

// Show a simple OK/Cancel dialog
DialogManager.ShowSelect("Are you sure?", (bool result) => {
    Debug.Log($"User selected: {result}");
});

// Show a notification dialog with OK button only
DialogManager.ShowSubmit("Operation completed!", (bool result) => {
    Debug.Log("Dialog closed");
});

For more examples, see NativeDialogSample.cs

📱 Screenshots

Android

anroid_640p.mp4

iOS

ios_640p.mp4

Editor Fallback

Editor Fallback

Install via UPM

package-from-git

  1. Open the Package Manager Window.
  2. Click + and select "Add package from git URL".
  3. Paste the following URL:
    https://github.com/asus4/UnityNativeDialogPlugin.git?path=/Packages/com.github.asus4.nativedialog#v1.2.0

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Show iOS/Android native dialog from Unity.

Topics

Resources

Stars

161 stars

Watchers

11 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages