Can someone tell me if I'm using threading correct?1
Hello! I'm very new to threading. I have done some reading on it and I got a basic understanding of it.
My first question is, should I make a thread in the update? I don't know if it's ok to do this because I have a script that is attached to multiple game objects and it does lag out the game a little bit. Like maybe 10 fps less which isn't good if you already only have an average of 20 - 30 fps on an android game. So I'm looking to optimize a bit and what I had before was a StartCoroutine and it did lag but I decided to make one for threading so I just put Thread t = new Thread( () => Oc(distance)) in the update and it worked but I noticed no performance boost so I think Im using this wrong or threading isn't really ment for what I'm trying to do. Again I am very new to threading so any information you can give me I'll take. If this made any sense please respond with an answer if you have one! Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612144759im_/https://answers.unity.com/themes/thub/images/avi.jpg)