This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Unigine.SystemDialog Class

This class is used to create and manage system dialogs displaying informational, warning, and error messages.

SystemDialog Class

Properties

int Type#

The Dialog type to be set: one of the TYPE_* values.

string Title#

The Current dialog title.

string Message#

The Current dialog message.

int DefaultButtonReturn#

The Number of the button, in the range from 0 to the total number of buttons.

int DefaultButtonEscape#

The Number of the button, in the range from 0 to the total number of buttons.

int NumButtons#

The Total number of dialog buttons.

Members


SystemDialog ( ) #

Constructor.

int AddButton ( ) #

Adds a new button to the system dialog.

Return value

Number of the new added button.

int AddButton ( string name ) #

Adds a new button to the system dialog.

Arguments

  • string name - Name of the button to be added.

Return value

Number of the new added button.

void RemoveButton ( int num ) #

Removes the button with the specified number from the system dialog.

Arguments

void SwapButtons ( int num_0, int num_1 ) #

Swaps two buttons with the specified numbers.

Arguments

string GetButtonName ( int num ) #

Returns the name of the button by its number.

Arguments

Return value

Name of the button with the specified number.

void SetButtonName ( int num, string name ) #

Sets as new name for the button with the specified number.

Arguments

  • int num - Number of the button to be renamed, in the range from 0 to the total number of buttons.
  • string name - New name to be set for the button with the specified number.
Last update: 19.04.2024
Build: ()