using System.Collections; using UnityEngine; using UnityEngine.UI; namespace ProceduralEditor { // Runtime helper that toggles the alpha of a target Image when the Button it's attached to is clicked. public class DebugFadeToggleBridge : MonoBehaviour { public Image targetImage; public float duration = 0.1f; bool isVisible = true; Coroutine running; void Start() { var btn = GetComponent