Quantcast
Channel: Answers for "Can the Unity editor break out of an infinite loop in a script?"
Viewing all articles
Browse latest Browse all 39

Answer by Proclyon

$
0
0

With all due respect, you should not even be trying to do such a thing with the engine, but with the code. I know it's really annoying when somebody won't answer your question. But I'm just trying to share my experience on this, and the answer I can give you is , don't get an infinite loop, EVER!

The reason is simply because it doesn't get out, and why should anything else then the code be responsible? It shouldn't, the code is. Otherwise it's going to get really confusing when the responsibility starts shifting to places where they don't belong.


Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>