internal IEnumerator WaitBeforeDoingHelper(float time, WaitBeforeDoingDelegate function) { yield return(new WaitForSeconds(time)); function(); }
internal IEnumerator WaitBeforeDoingHelper( float time, WaitBeforeDoingDelegate function ) { yield return new WaitForSeconds( time ); function(); }
public void WaitBeforeDoing(float time, WaitBeforeDoingDelegate function) { StartCoroutine(WaitBeforeDoingHelper(time, function)); }
public void WaitBeforeDoing( float time, WaitBeforeDoingDelegate function ) { StartCoroutine( WaitBeforeDoingHelper( time, function ) ); }