Project Settings

_images/project-settings.png

Settings are located at Edit / Project Settings… / New UI Widgets.

Assembly Definitions

Enable/disable assembly definitions. Enabled by default.
In the case of supported third-party packages without assembly definitions you need to create assembly definitions and specify them as references in the UIWidgets.asmdef.

Instantiate Widgets

Create widgets as copies of prefabs (same as default Unity widgets) or as prefabs references. Create copies by default.

Widgets Generator: R3 Support

Enable/disable R3.Unity support for the Widgets Generator.
If enabled fields and properties of type SerializableReactiveProperty<T> will be correctly processed.

Styles or Themes

Use Styles (Legacy) or UI Themes for the widget customization. Themes by default.

UI Themes: Addressables Support

Enable/disable Addressables support for the UI Themes.
Requires installed Addressables package (Window / Package Manage / Unity Registry).

Attach Default Theme

Attach default theme to the widgets created from menu.

Use White Sprite

Sets white sprite for the Image components without sprite.
Prevents rare bugs when such Images are displayed as black.

TextMeshPro Support

Enable/disable TextMeshPro Support. Enabled by default if the TextMeshPro is installed.

Unity Localization Support

I2 Localization Support

Enable/disable I2 Localization Support.

Data Bind for Unity Support

Widgets Generator Settings

Default values for the Widgets Generator, you can later change actual values in the generator window.

  • Namespace

    Namespace for the created scripts.

  • Editor Namespace

    Namespace for the created editor scripts.

  • Scene Path

    Path to save created scene, theme and some other files.

  • Scripts Path

    Path to save created scripts.

  • Prefabs Path

    Path to save created prefabs.

  • Editor Path

    Path to save created editor scripts.

Supported Placeholders:

  • DataTypeNamespace

    Namespace of the your data type.

  • DataTypePath

    Path to your data type or to the selected object in the Project window.

  • DataTypeName

    Name of your data type.

UI Themes Settings

  • Attach to UI only

    Add ThemeTarget component only to objects with RectTransform component.

  • Attach Default Selectable Colors

    If enabled, then default Selectable colors will be controlled by Theme.

  • Wrappers Folder

    Path to save created wrappers scripts.

  • Wrappers Namespace

    Namespace for the wrappers scripts.

  • Generate Wrappers

    If enabled, then automatically generate wrapper scripts for properties which available only via reflection after using the Theme Attach command.

Note

Support is enabled only to installed platforms. Platforms that were added after it requires enabling support again.