Class PlayableDirectorTimeManipulator
Exposes PlayableDirector time manipulation methods for use with UnityEvents in the editor. Useful for triggering timeline control from UI buttons, signals, or other runtime events.
[RequireComponent(typeof(PlayableDirector))]
public class PlayableDirectorTimeManipulator : MonoBehaviour
Inheritance
Methods
Rewind(float)
Moves the timeline backward by a number of seconds.
public void Rewind(float seconds)
Parameters
| Name | Type | Description |
|---|---|---|
seconds | float | The number of seconds to rewind. |