• Manual
  • Scripting API
Show / Hide Table of Contents
  • Quick Start Guide
  • The Demo Project
  • The Runtime Manager UI
  • Understanding Colorers
  • Importing Palettes
  • Performances Considerations
  • Packages Architecture

The Demo Project

Running the scn_SemanticColorPaletteDemo scene in the Unity Editor is a good way to familiarize with the system concepts and functionalities.

A video is also available:

Importing and opening the Demo

  1. Select Window > Package manager to open the package manager window.
  2. Select the Semantic Color Palette package and you will find a Samples section after the package description, in the right panel of the package manager window. Click the Import button:

    Importing the example project

  3. Open the scene scn_SemanticColorPaletteDemo.unity in Assets\Samples\Semantic Color Palette\1.1.0\Demo\Runtime\Scenes.


We suggest to explore carefully each panel, reading the on-screen text, playing with the Runtime Manager UI and analyzing the scene hierarchy and the linked assets in the Unity Editor.

For a better experience, the Game window should be set to 16:9 Aspect when running the demo.

Here's a summary of the demo panels:

  • basic
    • demostrates the system basic usage, with one Palette Provider handling a single Palette, and a few Colorers configured on standard Unity UI components.
  • variants
    • demonstrates palette variants, showing as example a light/dark mode switch, still on standard Unity UI components.
  • forced variants
    • demonstrates the override mechanism for palette variants, following up from the previous panel.
  • advanced
    • shows a more complicated setup, with multiple Palette Providers, multiple Palettes and the use of Colorers acting on Materials, which requires some extra care.
  • TextMeshPro support
    • demonstrates how the system supports TextMeshPro components.
  • custom provider
    • presents a FadingPaletteProvider, showing an example of how to extend the system with custom Palette Providers (changing the way Palettes are provided to Colorers).
  • custom colorer
    • shows examples of how to extend the system with custom Colorers, changing how Palettes are actually used.
  • code only
    • shows a procedural scene where the system is used through scripting only.
  • extras
    • mentions other available features not discussed in the demo.
In This Article
Back to top Binary Charm