Created
May 25, 2015 19:43
-
-
Save mmoczkowski/63a649a02db9fa61f028 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerator Kupka_coroutine() { | |
while(true) { | |
if(x>0.9) { | |
for(float t=0;, t<1; t+=speed*Time.delta) { | |
//przesun kamere o 1 step | |
yield return null; | |
} | |
} else { | |
yield return null; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment