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

Questions about coroutine and uGUI events

$
0
0
Hi uGui devs!

I made a jpg for a better comprehension, but i wrote also my questions below :

I want to use a custom function "public IEnumerator FadeInScene()", with OnClick() event. When i put the script on the OnClick() object field, Unity doesn't propose this function. Is it possible to call an IEnumerator function, or use StartCoroutine with the function field? For the moment, i created an additional void function which call IEnumerator function by StartCoroutine. It works, but i find...

Questions about coroutine and uGUI events

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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