Create infinite loop in Unity with delay
<p>I need to create a infinite loop in Unity without using the main thread? I saw some example, but it's not usefull:</p>

<pre><code>while(true){
         var aa;
         debug.log("print.");
} 
</code></pre>

<p>I want to add some delay like e.g. 2 seconds. If anybody knows the solution please help.</p>