FramePlayer Class¶
Description¶
在场景中控制 InputFramePlayer 的 MonoBehaviour ,在Unity环境下提供功能扩展。不需要直接使用 InputFramePlayer 。
MonoBehaviour Messages¶
| protected virtual void Awake() | 
| protected override void OnEnable() | 
| protected virtual void Start() | 
| protected override void OnDisable() | 
| protected virtual void OnDestroy() | 
Fields¶
FilePathType¶
- C#
- public WritablePathType FilePathType 
路径类型。可以在OnEnable或Start之前设置。
FilePath¶
- C#
- public string FilePath 
文件路径。可以在OnEnable或Start之前设置。
Properties¶
IsCompleted¶
- C#
- public bool IsCompleted { get; } 
是否已完成播放。
Length¶
- C#
- public float Length { get; } 
预期的总播放时间。单位为秒。
Time¶
- C#
- public float Time { get; } 
已经播放的时间。