help me with thread

i just know there’s some thing we cal thread, and i wanna use that, and also wanna to make it’s priority lower…

can any one help me with that ?!
i wanna use it while my frame rendering, so i can read hug data, without loosing a frame…

Unity is single treaded and will not let you call the Unity API from outside the main thread. But, I don’t know if you need the Unity API for what your doing. I’m not exactly sure what you are trying to do. It looks like you want to asynchronously read data while your game is rendering.

unity frames get rendered one by one, and i wanna execute a hug, or small, but in other side of network, record reading lines of codes…
so it will slow frame rate done…
no i need thread beside this, but i don’t need to call any of unity API, so just tell me how to make my thread, and how to call it…and it’s sub function

sry for let , too busy these days

Are you sure you need to use threads for this? You can repeat a task at lower frequency than the framerate using a coroutine or the InvokeRepeating function.

I’ve actually never tried using multiple threads in Unity, but search multithreading in the forums and a lot pops up.

Edit: I just played with .Net threads in Unity, and they work fine supposing you know what your doing.

sry for late, weren’t here to check for some days … tnx