2023-09-17 01:22:28 +08:00
|
|
|
|
using UnityEngine.Playables;
|
|
|
|
|
using UnityTest.ZXL;
|
|
|
|
|
|
|
|
|
|
namespace Mono.Event
|
|
|
|
|
{
|
2023-09-18 00:01:05 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// timeline播放结束抛出事件
|
|
|
|
|
/// </summary>
|
2023-09-17 01:22:28 +08:00
|
|
|
|
public class PlayableStoppedEventArgs : GameEventArgs
|
|
|
|
|
{
|
|
|
|
|
public static readonly int EventId = typeof(PlayableStoppedEventArgs).GetHashCode();
|
|
|
|
|
public override int Id => EventId;
|
|
|
|
|
|
|
|
|
|
public PlayableDirector playableDirector;
|
|
|
|
|
|
|
|
|
|
public PlayableStoppedEventArgs(PlayableDirector playableDirector)
|
|
|
|
|
{
|
|
|
|
|
this.playableDirector = playableDirector;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|