コード例 #1
0
    internal IEnumerator WaitBeforeDoingHelper(float time, WaitBeforeDoingDelegate function)
    {
        yield return(new WaitForSeconds(time));

        function();
    }
コード例 #2
0
 internal IEnumerator WaitBeforeDoingHelper( float time, WaitBeforeDoingDelegate function )
 {
     yield return new WaitForSeconds( time );
     function();
 }
コード例 #3
0
 public void WaitBeforeDoing(float time, WaitBeforeDoingDelegate function)
 {
     StartCoroutine(WaitBeforeDoingHelper(time, function));
 }
コード例 #4
0
 public void WaitBeforeDoing( float time, WaitBeforeDoingDelegate function )
 {
     StartCoroutine( WaitBeforeDoingHelper( time, function ) );
 }