Skip to content

asus4/UnityNativeDialogPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •