LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

PlayableExtensions.SetDelay

public static void SetDelay(U playable, double delay);

Parameters

playableThe Playable used by this operation.
delayThe delay in seconds.

Description

Set a delay until the playable starts.

The delay is not multiplied by the speed of the playable because it happens before the playable starts.

NOTE: This is a templated extension method that can be used on any type that inherits from IPlayable.