Hey im developing for ios and i have heard a lot about assigning gui to an update function instead of a fixed.
I can understand why but how would i go about doing this when the gui control an object like a car for instance.
So when i press on go the cars back wheels move, would it matter that my gui is in a fixed as the user has to hold go in order for the car to go. This is what i dont understand, do i have to put the go in update and check it in a fixed for it being pressed.
If this input is only required once, what you are doing should be fine. For example, if starting required pressing a GUI button and the rest of the controls were tilt based, what you are doing is perfect and also optimizing your game.
If you want to completely control the car from the GUI, it is preferred to use the “Update function” OnGUI(). For example, a button could be use to control whether or not the car is accelerating throughout the whole game, giving the player an option to stop or slow to a stop, depending on what is wanted.