2025-10-03 20:00:05 +05:00

33 lines
587 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public abstract class Level : MonoBehaviour
{
public UnityEvent OnLevelEndEvent;
public LevelConfig config;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public virtual void OnLevelStart()
{
// ObjectiveManager.Instance.Advance();
}
public virtual void OnLevelEnd()
{
OnLevelEndEvent?.Invoke();
}
}