Ejemplo n.º 1
0
    internal IEnumerator WaitBeforeDoingHelper(float time, WaitBeforeDoingDelegate function)
    {
        yield return(new WaitForSeconds(time));

        function();
    }
Ejemplo n.º 2
0
 internal IEnumerator WaitBeforeDoingHelper( float time, WaitBeforeDoingDelegate function )
 {
     yield return new WaitForSeconds( time );
     function();
 }
Ejemplo n.º 3
0
 public void WaitBeforeDoing(float time, WaitBeforeDoingDelegate function)
 {
     StartCoroutine(WaitBeforeDoingHelper(time, function));
 }
Ejemplo n.º 4
0
 public void WaitBeforeDoing( float time, WaitBeforeDoingDelegate function )
 {
     StartCoroutine( WaitBeforeDoingHelper( time, function ) );
 }