Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


time

The time at which the event is being fired (Read Only).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public float time { get; }

Remarks

Returns the time value in seconds within the animation clip. For example, if
time
is 1.5f for an animation clip with a length of 2 seconds, the event fires 1.5 seconds after the animation starts. If the animation clip loops, the event fires at the same time in each iteration.