文档

Unity Engine

Unity Engine

clip

The clip being played by the VideoPlayer.
阅读时间1 分钟最后更新于 1 个月前

Definition

public VideoClip clip { get; set; }

Remarks

The VideoPlayer may reference both a clip and a URL at the same time. The last one that was set takes precedence. Setting this to
null
will stop any currently prepared playback.
Note: Not supported on WebGL. Only VideoPlayer.url is supported on this platform.