// MIT License - Copyright (c) 2025 wallstop
// Full license text: https://github.com/wallstop/unity-helpers/blob/main/LICENSE
namespace Samples.UnityHelpers.UGUI.EnhancedImage
{
using UnityEngine;
using UnityEngine.UI;
using WallstopStudios.UnityHelpers.Visuals.UGUI;
///
/// Creates a Canvas + EnhancedImage at runtime and applies an HDR tint.
///
public sealed class EnhancedImageDemo : MonoBehaviour
{
[SerializeField]
private Material materialTemplate;
private void Start()
{
GameObject canvasGo = new GameObject("DemoCanvas");
Canvas canvas = canvasGo.AddComponent