using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.Playables; public class CheckPoint : MonoBehaviour { public UnityEvent OnCheckpointPass; [ContextMenu("Debug Checkpoint")] public void CheckPointPass() { OnCheckpointPass?.Invoke(); } }