Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


duration

MovieTexture has been removed. Use VideoPlayer instead.
Read time 1 minuteLast updated 12 days ago

Definition

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

Remarks

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