三国卡牌客户端基础资源仓库
yyl
2025-05-13 e30e257ab8fcec3161337db973d0d1e6f2ce702e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cysharp.Threading.Tasks;
 
/// <summary>
/// 启动状态接口
/// </summary>
public interface ILaunchState
{
    /// <summary>
    /// 状态名称
    /// </summary>
    string StateName { get; }
    
    /// <summary>
    /// 进入状态
    /// </summary>
    UniTask OnEnter();
    
    /// <summary>
    /// 执行状态
    /// </summary>
    UniTask<bool> OnExecute();
    
    /// <summary>
    /// 退出状态
    /// </summary>
    UniTask OnExit();
}