LazyBot/Assets/Scripts/Entity/EntityController.cs
/// <summary>
/// Runs custom method after delay.
/// </summary>
/// <param name="method">Custom method.</param>
/// <param name="waitSeconds">Delay.</param>
Runs custom method after delay.
Runs custom method after delay .
protected Coroutine RunLaterValued(System.Action method, float waitSeconds)
        {
            if (waitSeconds < 0 || method == null)
            {
                return null;
            }
            return StartCoroutine(RunLaterCoroutine(method, waitSeconds));
        }
protected Coroutine RunLaterValued ( System . Action method , float waitSeconds ) { if ( waitSeconds < 0 || method == null ) { return null ; } return StartCoroutine ( RunLaterCoroutine ( method , waitSeconds ) ) ; }
Runs custom method after delay.
Runs custom method after delay .
method
System.Action
None
waitSeconds
float
None