34 lines
974 B
C#
34 lines
974 B
C#
using System.Threading.Tasks;
|
||
using UnityEngine;
|
||
using UnityEngine.Playables;
|
||
|
||
namespace EventBossFight
|
||
{
|
||
/// <summary>
|
||
/// Boss 关卡 Timeline 表现单元(Spine 版 / 视频版共用),供 MainPanel 多态绑定。
|
||
/// </summary>
|
||
public interface IEventBossFightBossCell
|
||
{
|
||
GameObject gameObject { get; }
|
||
|
||
/// <summary>播 Boss 各段 Timeline 的 Director;视频 Cell 为 <see cref="EventBossFightTimelineCellVideo.CellPlayableDirector"/>。</summary>
|
||
PlayableDirector BossTimelineDirector { get; }
|
||
|
||
void ShowGameObject();
|
||
|
||
void PlayIdle(PlayableDirector director);
|
||
|
||
Task PlayTimelineAttacked(PlayableDirector director, int index);
|
||
|
||
Task PlayTimelineDeath(PlayableDirector director);
|
||
|
||
Task PlayTimelineAttack(PlayableDirector director);
|
||
|
||
EventBossFightShakeData BossAttackShakeData { get; }
|
||
|
||
GameObject PlayerAttackedFx { get; }
|
||
|
||
void InitFlash();
|
||
}
|
||
}
|