lgdnpt Posted December 29, 2022 Posted December 29, 2022 How to start a coroutine like unity's "StartCoroutine()" function?
silent Posted December 29, 2022 Posted December 29, 2022 lgdnpt There is no coroutine available out of the box, but you can easily implement this on your side. In attachment you can find an example (was tested on 2.15.x only, so it may not compile in 2.16.x). Need to call CoroutinesManager.Initialize(); inside AppSystemLogic init() in order to make it work. Thanks! CoroutinesManager.cs How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
lgdnpt Posted December 30, 2022 Author Posted December 30, 2022 15 hours ago, silent said: lgdnpt There is no coroutine available out of the box, but you can easily implement this on your side. In attachment you can find an example (was tested on 2.15.x only, so it may not compile in 2.16.x). Thanks! CoroutinesManager.cs 2.96 kB · 1 download Thank you very much! 1
F_E_L_I_X Posted February 24, 2023 Posted February 24, 2023 Hi and big thanks for coroutine script. But I don't understand how to use that script correctly. I try to call methods, but it didn't work. CoroutinesTest.cs
semih.tok Posted July 28, 2023 Posted July 28, 2023 I am interested in this too. Have you called CoroutinesManager.Initialize() at somewhere? If not, can you try it and share the results if it works?
Recommended Posts