mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
提交
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 09143922e037a6d41aa2a9e4e2742731
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user