Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

While statement not calling when calling a function from another script

$
0
0
I'm having a really weird issue right now. For some reason when I try calling a function from another script it will call the function but won't trigger my while statement. Which if I call the function from the main script the while statement always gets called and the function plays through as expected. I noticed when calling the function from another script it does change my first boolean to true, which it should but then after that it just doesn't call my while statement. Not sure what could...

While statement not calling when calling a function from another script

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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