|
Hello, I got this small problem. I am using StartCoroutine for a www request but I can't figure a work-around to access it in a static way. Here is a sample code of what I do:
My problem is that StartCoroutine is obviously a non static method. I can't seem to figure out a work-around to access it in a none static way.
(comments are locked)
|
|
Just give it a dummy gameobject to run on. Maybe put a script on that gameobject that gives you singleton-style access to it. You should then be able to do something like that seems a very inelegant and roundabout way of doing it
Apr 15 '12 at 10:39 PM
ina
you said "roundabout"
Jul 10 '12 at 02:29 PM
Cawas
@cawas: This comment is pretty useless... Do you want to point out "roundabout (indirect)" isn't a proper word in this case?
Jul 10 '12 at 02:45 PM
Bunny83
(comments are locked)
|
