![]() |
How can I disable all Obi's scripts? (for performance) - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: How can I disable all Obi's scripts? (for performance) (/thread-2622.html) |
How can I disable all Obi's scripts? (for performance) - emz06 - 08-12-2020 I'm testing out my mobile game and it's very sloppy at the moment. I am looking at ways to improve the performance I tried disabling all 4 solvers, their emitters (and all their scripts), the particle renderers (from ObiFluidRenderer). It seems that this strategy doesn't work because I still get lots of computations in Fixed Update from Obi scripts. Basically, I would like the Obi scripts to work only on short periods of time, only when a fluid is shown (and never otherwise). How can I disable all scripts from Obi Fluid, so that I don't see any of them in the Profiler? (Or maybe disable the very first Obi script which triggers all other scripts) RE: How can I disable all Obi's scripts? (for performance) - josemendez - 08-12-2020 (08-12-2020, 07:27 PM)emz06 Wrote: I'm testing out my mobile game and it's very sloppy at the moment. Disable the ObiFixedUpdater component in your scene. Obi will stop executing entirely. See: http://obi.virtualmethodstudio.com/tutorials/bigpicture.html |