17 lines
340 B
C#
17 lines
340 B
C#
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();
|
|
}
|
|
}
|