Hi, I was writing code for GUI in my Unity game and I started by making just layer for this. I wanted to test script showing and hiding cursor after clicking Tab and cursor was showing and hiding many times per second.
This is code fragment responsible for this function:
if (openinventory)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.