30 lines
486 B
C#
30 lines
486 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public abstract class Level : MonoBehaviour
|
|
{
|
|
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()
|
|
{
|
|
}
|
|
|
|
}
|