using Framework.Manager; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ToggleNextGuide : MonoBehaviour { public string str = ""; void Start() { GetComponent().onValueChanged.AddListener((A) => { if (A) { if (str == "") { TutorialGuideManager.Instance.TriggerNextGuide(transform.name); } else { TutorialGuideManager.Instance.TriggerNextGuide(str); } } }); } void Update() { } }