This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Professional (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Materials and Shaders
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Containers
Common Functionality
Controls-Related Classes
Engine-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
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Сэмплы материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

UnigineScript

Warning
The scope of applications for UnigineScript is limited to implementing materials-related logic (material expressions, scriptable materials, brush materials). Do not use UnigineScript as a language for application logic, please consider C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScript (beyond its scope of applications) is not guaranteed, as the current level of support assumes only fixing critical issues.

UnigineScript is a programming language used in Unigine engine and introduced by UNIGINE Corp. for optimizing a project creation process. It is similar to C++ in syntax, but includes some additional features.

You can read more about syntactical differences between UnigineScript and C++.

The purpose of UnigineScript is to make coding easy-to-use even for junior programmers and at once provide the most optimal engine usage.

Why use UnigineScript?

All the features of Unigine engine are accessible via UnigineScript.

Which platforms have UnigineScript?

Platforms supported by Unigine engine (Windows and Linux), no recompilation is required.

What does a UnigineScript program creating process look like?

UnigineScript program can be written by using a plain text editor.

There are two ways of running UnigineScript programs:

  • Via the built-in UnigineScript runtime (by running an engine instance)
  • Via any standalone CLI interpreter (usc) – the same way as .bat/.sh/.py scripts work

How do I get started with UnigineScript?

First, you have to learn how to program in UnigineScript. Read The Language information and try tutorial. You probably will need information about core and engine libraries, High-Level Script and Script Debugging for extended UnigineScript features.

Learn about UnigineScript Programming Language, find out how to start writing programs in UnigineScript, work through the information, and get from Novice to Expert.

Articles in This Section

Last update: 10.10.2022
Build: ()