using UnityEngine; using UnityEngine.UI; public class SetGlobalColor : MonoBehaviour { public bool onUpdate; public int colorId; public int colorHoverId = 5; public int colorPressedId = 6; public bool setAlpha = true; public float colorAlpha = 255f; private Image sprite; private Text label; private Button button; private void Start() { sprite = base.gameObject.GetComponent(); label = base.gameObject.GetComponent(); button = base.gameObject.GetComponent