Quantcast
Channel: Answers for "Calling a coroutine when the IENumerator has a passing argument?"
Browsing all 4 articles
Browse latest View live

Answer by Bunny83

You have several things wrong here. First of all when calling a method (no matter if it's a "normal" method or a generator method, an IEnumerator) you have to pass the parameters the method requires in...

View Article


Answer by OctoMan

Starting the coroutine with a value(string,int,bool, float and so on), is what you have to do normally. example: StartCoroutine(OnTriggerEnter(1.0f)); and in IEnumerator OnTriggerEnter(float value) to...

View Article


Answer by Bunny83

You have several things wrong here. First of all when calling a method (no matter if it's a "normal" method or a generator method, an IEnumerator) you have to pass the parameters the method requires in...

View Article

Answer by OctoMan

Starting the coroutine with a value(string,int,bool, float and so on), is what you have to do normally. example: StartCoroutine(OnTriggerEnter(1.0f)); and in IEnumerator OnTriggerEnter(float value) to...

View Article
Browsing all 4 articles
Browse latest View live


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