Question by
rahdnus119 · Mar 11, 2021 at 01:50 PM ·
performanceprogramming
Is Onmouseover() perfomance heavy?
I had this weird issue with onmouseover where it responds for some time and then after a while it doesnt. I tried using debug messages to see what was going on. When i hovered my mouse over an object the responses kept slowing down and eventually stopped.
Now ,I had a pause screen of sorts so when I pause the game with my cursor on an object of interest, onmouseover starts responding again. When i remove time.timescale=0 (for pausing the game) , onmouseover again doesnt respond.
Comment