Quantcast
Channel: Answers for "How to use yield within a class function"
Browsing all 4 articles
Browse latest View live

Answer by whydoidoit

You have to start them as coroutines - normally Unity does that if you call it from within a MonoBehaviour. If you want a utility class then you are going to need a utility MonoBehaviour script to run...

View Article



Answer by avantius

I searched some more and found a solution for my issue. In case its of use to anyone else, here's the example code of what I found on the Unity forums: // Coroutiner.js // this class is just used to...

View Article

Answer by whydoidoit

You have to start them as coroutines - normally Unity does that if you call it from within a MonoBehaviour. If you want a utility class then you are going to need a utility MonoBehaviour script to run...

View Article

Answer by avantius

I searched some more and found a solution for my issue. In case its of use to anyone else, here's the example code of what I found on the Unity forums: // Coroutiner.js // this class is just used to...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images