IEnumerator Issues
So you know how if you call a method, that method stops, and it finishes the new method before continuing the old method? Well it's annoying because I have to use a WWW form which needs IEnumerator. Well if you call an IEnumerator (which is needed because it has to wait for communicating with sql) in a method, the method and IEnumerator run at the same time, so if I return a value from the sql through the IEnumerator, the method will not have the final value in time because it will already have passed that by. So I do not know how to return the value in time because the code still processes with the IEnumerator. Any suggestions?
Side note: My sql methods are in a separate class (sqlutil) for other scripts to reference.
Comment