mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交Unity 联机Pro
This commit is contained in:
23
JNFrame2/Assets/JNGame/System/SystemBase.cs
Normal file
23
JNFrame2/Assets/JNGame/System/SystemBase.cs
Normal file
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
11
JNFrame2/Assets/JNGame/System/SystemBase.cs.meta
Normal file
11
JNFrame2/Assets/JNGame/System/SystemBase.cs.meta
Normal file
@@ -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