28 lines
620 B
C#
28 lines
620 B
C#
using Cysharp.Threading.Tasks;
|
|
using Framework;
|
|
using Gameplay;
|
|
using Gameplay.SubSystems;
|
|
using PhxhSDK;
|
|
|
|
public class GameStateStart : IState
|
|
{
|
|
public void OnEnter()
|
|
{
|
|
LoadingExecutorManager.Instance.ExecuteLoading(new GameStartLoadingExecutor()).Forget();
|
|
|
|
#if SDK_TAPTAP
|
|
var antiAddictionService = SDKManager.Instance.GetSdkHelper(SDKManager.SdkName.TapTap) as IAntiAddictionService;
|
|
antiAddictionService?.AntiAddictionLeaveGame();
|
|
#endif
|
|
}
|
|
|
|
public void OnUpdate(float deltaTime)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnExit()
|
|
{
|
|
}
|
|
}
|