Documentation

Page contents

Updated

Generate PDF from page.

Canvas Theme Graphic Color Behavior

Files: CGFCanvasThemeGraphicColorBehavior.cs

Path: "CGF/Systems/UI/Themes"

Description

Applies a theme color to a UI Graphic.

Reference

  • Color Key – Color key to use. See Common Features / Color Key.
  • Keep Opacity – Whether to preserve the Graphic opacity when applying the theme color.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.