文档

Unity Engine

Unity Engine

duration

MovieTexture has been removed. Use VideoPlayer instead.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
警告
Removed. MovieTexture is removed. Use VideoPlayer instead.
public float duration { get; }

Remarks

The time, in seconds, that the movie takes to play back completely.