Quantcast
Viewing latest article 28
Browse Latest Browse All 62

NetworkStream.GetStream() Coroutine

how can i make NetworkStream.GetStream a coroutine? i currently use Threading to avoid the main thread because the NetworkStream.GetStream waits for data before continuing and that temporarily freezes Unity until new data arrives. so i have no idea how to make this a coroutine I'm doing a whole workaround to get data from my thread to the main thread and that just slows things down

Viewing latest article 28
Browse Latest Browse All 62

Trending Articles



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