Class NativeUI
Provides a cross-platform interface to access native UI components.
Inheritance
System.Object
NativeUI
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VoxelBusters.EssentialKit
Assembly: cs.temp.dll.dll
Syntax
public static class NativeUI
Properties
NativeInterface
Declaration
public static INativeUIInterface NativeInterface { get; set; }
Property Value
Type | Description |
---|---|
INativeUIInterface |
UnitySettings
Declaration
public static NativeUIUnitySettings UnitySettings { get; }
Property Value
Type | Description |
---|---|
NativeUIUnitySettings |
Methods
ShowAlertDialog(String, String, String, Callback, String, Callback)
Creates a new alert dialog with specified values.
Declaration
public static void ShowAlertDialog(string title, string message, string preferredActionLabel, Callback preferredActionCallback = null, string cancelActionLabel = null, Callback cancelActionCallback = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | The title of the alert. |
System.String | message | The descriptive text that provides more details. |
System.String | preferredActionLabel | The title of the button. |
Callback | preferredActionCallback | The method to execute when the user selects preferred action button. |
System.String | cancelActionLabel | The title of the cancel button. |
Callback | cancelActionCallback | The method to execute when the user selects cancel button. |