-
Notifications
You must be signed in to change notification settings - Fork 2
Time Picker Dialog
Koretskyi Kostiantyn edited this page Jun 23, 2022
·
1 revision
The UM_TimePickerDialog is a simple dialog containing native Time Picker component inside that will allow your app user to pick a time. See the use example below:
var picker = new UM_TimePickerDialog();
picker.Show(result =>
{
if (result.IsSucceeded)
{
Debug.Log("Time picked result.Hour:" + result.Hour);
Debug.Log("Time picked result.Minute:" + result.Minute);
}
else
{
Debug.Log("Failed to pick a time: " + result.Error.FullMessage);
}
});Note: When testing inside the Unity Editor environmnet the current time values will be returned as user time choise.
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Application
- Dark Mode
- Native Dialogs
- Native Preloader
- Date Picker Dialog
- Time Picker Dialog
- Rate Us Dialog
- Build Info
- Locale
- Permissions
- Wheel Picker Dialog
- Getting Started
- Connecting to The Service
- Purchase flow
- Transactions Validation
- Test Inside the Editor
- Advanced use cases
- Getting Started
- Enabling the Ads Service
- Banner Ads
- Non-rewarded Ads
- Rewarded Ads
- Unity Ads
- Google AdMob
- Chartboost
- Getting Started
- Analytics API
- Automatic Tracking
- Unity Analytics
- Firebase Analytics
- Facebook Analytics