A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Found the solution, for some reason setting the Power boolean to public and static fixed the issue and now it is working fine. Thank you for the help!
I have made almost everything a comment other than these lines of code: bool Power = false; Debug.Log("Power:" + Power); public void...
This is what it gave me: [ATTACH]
The only thing that calls PowerToggle() is the button maker script, here is the code for that: using System.Collections; using...
I wrote a separate script that turns a 3D GameObject into a button. It runs the code once. I can only code I can find that changes the Power...
It does flood it, but for some reason for every 3 times it says the variable is false, there is 1 true when it should be. I already checked to see...
I have been working on a script that should control the pressure and temperature of a reactor in my game. I have a Power boolean that changes when...
Thank you, I just fixed the unnecessarily long code and replaced it with the shortened version. I am currently trying to find the other bugs in my...
I was confused and for some reason the code was not working when I used !Power. It was likely some other bug that I still need to fix.
Thank you, the values were changing, I guess something is wrong in a different part of the code.
I have tried to use that to flip the boolean but for some reason that also did not work. I have added Debug.Log to the end of it and the inspector...
I have been working on a game in Unity 2021.3.17f1 and I have a boolean value that refuses to change. The odd part is I used some code that is...
When I was getting the file I found that for some reason it got put under a random asset. I moved it the the correct location and it seems to be...
Just updated it to 3.3.1, same issue.
2021.3.4f1
Hello, I'm decently new to Unity and I was attempting to use remote config but it just prints out a long error every time I try to open it. I have...