mirror of https://github.com/tuyoogame/YooAsset
22 lines
454 B
C#
22 lines
454 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
internal class FsmPatchDone : IFsmNode
|
|
{
|
|
public string Name { private set; get; } = nameof(FsmPatchDone);
|
|
|
|
void IFsmNode.OnEnter()
|
|
{
|
|
PatchEventDispatcher.SendPatchStepsChangeMsg(EPatchStates.PatchDone);
|
|
Debug.Log("补丁流程更新完毕!");
|
|
|
|
YooAsset.YooAssets.LoadSceneAsync("Scene/Game1");
|
|
}
|
|
void IFsmNode.OnUpdate()
|
|
{
|
|
}
|
|
void IFsmNode.OnExit()
|
|
{
|
|
}
|
|
} |