18 lines
438 B
C#
Executable File
18 lines
438 B
C#
Executable File
using System;
|
|
using System.Threading;
|
|
using Cysharp.Threading.Tasks;
|
|
using RebootKit.Engine.Foundation;
|
|
|
|
namespace RebootKit.Engine.Services.GameMode {
|
|
public interface IGameMode : IDisposable {
|
|
UniTask OnInit(CancellationToken cancellationToken);
|
|
|
|
void OnStart();
|
|
void OnStop();
|
|
|
|
void OnTick();
|
|
}
|
|
|
|
public abstract class GameModeAsset : FactoryAsset<IGameMode> {
|
|
}
|
|
} |