24 lines
394 B
C#
Raw Normal View History

2024-08-17 14:27:18 +08:00
using Cysharp.Threading.Tasks;
using System.Threading.Tasks;
namespace Plugins.JNGame.System
{
public abstract class SystemBase
{
protected bool isStart;
public virtual Task OnInit()
{
isStart = true;
return Task.CompletedTask;
}
public virtual void OnClose()
{
isStart = false;
}
}
}