mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-19 18:04:36 +01:00
21 lines
369 B
C#
21 lines
369 B
C#
using System;
|
|
using UnityEngine.Events;
|
|
|
|
namespace RenderHeads.Media.AVProVideo
|
|
{
|
|
[Serializable]
|
|
public class MediaPlayerEvent : UnityEvent<MediaPlayer, MediaPlayerEvent.EventType, ErrorCode>
|
|
{
|
|
public enum EventType
|
|
{
|
|
MetaDataReady = 0,
|
|
ReadyToPlay = 1,
|
|
Started = 2,
|
|
FirstFrameReady = 3,
|
|
FinishedPlaying = 4,
|
|
Closing = 5,
|
|
Error = 6
|
|
}
|
|
}
|
|
}
|