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 IEnumerator RunLaterCoroutine(System.Action method, float waitSeconds)
        {
            yield return new WaitForSeconds(waitSeconds);
            method();
        }
private IEnumerator RunLaterCoroutine ( System . Action method , float waitSeconds ) { yield return new WaitForSeconds ( waitSeconds ) ; method ( ) ; }
Run custom method after delay.
Run custom method after delay .
method
System.Action
None
waitSeconds
float
None