UISimpleAlert


1. Description
You can show an alert or a progress bar(made by uGUI).
It’s hard to make both from zero.


by be-style


Price History +

1. Description
You can show an alert or a progress bar(made by uGUI).
It's hard to make both from zero.
So, this asset help you to show both easily.


2. Feature
- There are 11 types of Alert.
- There are 7 types of Progress Bar.
- You can write a callback method for a button.
- According to message length, an alert height is changable(rectangle only).
- You can use a RichText for Text.
- You can customize variable parameters for font, text color, probress bar color, ..., etc.


3. How to use
--- Ready ---
(1) First you make an empty object.
     Next you attach "UISimpleAlert/Scripts/UISimpleAlert" (C# File) to it.
--- Use ---
(2) In the C# file that you want to use UISimpleAlert, write bellow.
     using bestyle;
     In following (3)(4)(5), you write in the same C# file.
(3) You can change font, color of text, color of progress bar with using following parameters.
     - UISimpleAlert.font
     - UISimpleAlert.textColor
     - UISimpleAlert.progressColor
(4) You can show the Alert with the method "UISimpleAlert.Alert".
     You can show the Progress Bar with the method "UISimpleAlert.ProgressBar".
(5) Only Progress Bar, you need to update the value timely (UISimpleAlert.progress).