LazyBot/Assets/Scripts/Audio/AudioContainer.cs
/// <summary>
/// Run custom method after delay.
/// </summary>
/// <param name="method">Custom method.</param>
/// <param name="waitSeconds">Delay.</param>
Run custom method after delay.
Run custom method after delay .
private void RunLater(System.Action method, float waitSeconds)
        {
            if (waitSeconds < 0 || method == null)
            {
                return;
            }
            StartCoroutine(RunLaterCoroutine(method, waitSeconds));
        }
private void RunLater ( System . Action method , float waitSeconds ) { if ( waitSeconds < 0 || method == null ) { return ; } StartCoroutine ( RunLaterCoroutine ( method , waitSeconds ) ) ; }
Run custom method after delay.
Run custom method after delay .
method
System.Action
None
waitSeconds
float
None