8000 GitHub - iletai/PopupSDKUnity
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iletai/PopupSDKUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PopupSDK Sample Unity

Overview

The PopupSDK for Unity demo you how to show an popup in Unity. And config UI for it.

  • Mutil button popup
  • Mutil UI(Dark/Light/None)
  • Config yourself popup
  • ...

NOTICE: This version of popup was develop to show you as a demo. And refer many resource to create. Show It's sample for Unity. We could custom it later

Features:

  • Config UI
  • Config Type Popup(Mutil/Single/Double)

Upgrading

If you have already integrated your project with a previous version of the plugin and wish to upgrade to a new version, please give a start =)

Configure Your Game

To use the plugin, import package to see sample. Or open solution lib popupsdk. And bat file. Config your path to Unity project folder want set dll output.

More config feature

More

Setup

Make sure to do the following if they are relevant to your game:

Code Configuration & Initialization

    //Init
     public static PopupManager Instance
        {
             get => _instance == null ? _instance = GameObject.FindObjectOfType<PopupManager>() : _instance;
        }
   //Show
     public void ShowPopup(string textShowTitle, Action confirmbutton)
       {
           foreach (PopupContentUI item in listContentPopup)
           {
               item.CreateButtonInsidePopup();
           }
           UIPopup.SetTitleText(textShowTitle);
           UIPopup.ConfirmButtonClick(confirmbutton);
       }

Adding additional:

Note: adding additional scopes with most likely require user consent when starting your game.

Result:

Image

Image2

0