hi! I want to read if the UI toggle is true or false. I have this script which doesn't work for no reason
Any Idea how to check that? Thanks!
Any Idea how to check that? Thanks!
Code (CSharp):
- if (toggleAP == true)
- {
- AutoPilot = true;
- }
- else
- {
- AutoPilot = false;
- }