Table of Contents

Method DelayedCall

DelayedCall(float, Action, bool)

Invokes callback after delay seconds. When ignoreTimeScale is true (default), the wait is based on real time so it is unaffected by Time.timeScale pausing or slow-motion. When false, Unity's scaled time is used via Awaitable.WaitForSecondsAsync.

public static Awaitable DelayedCall(float delay, Action callback, bool ignoreTimeScale = true)

Parameters

delay float
callback Action
ignoreTimeScale bool

Returns

Awaitable