mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
24 lines
394 B
C#
24 lines
394 B
C#
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;
|
|
}
|
|
|
|
}
|
|
}
|