So far, we worked with styles by setting a static value for a specific property. However, using triggers, you can change the value of a given property, once a certain condition changes. Triggers come in multiple flavors: Property triggers, event trig…
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; using UnityEngine.Events; using UnityEngine.EventSystems; public class LeftMenuBarEvent { private static LeftMenuBarEvent leftMenuBar_this…
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class Trigger : MonoBehaviour { EventTrigger eventTrigger; // Start is called before the first frame update void Start() { eventTrig…