Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

asus4/UnityNativeDialogPlugin

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

161 stars

Watchers

11 watching

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.