I read some time ago that i can make code that can automaticly use the code part on wich platform it runs but do not find the right words to find it here or on google.
For example i want to make code for stearing a character that use in the editor wsad but when it runs on the ipad it should use a virtuel joystick.
I read that i can make this but do not find it anymore and that way i do not have to switch fo and on things when build for different platforms.
Hope someone can point me to the...
How to make code that automaticly switch wich part to use when on different platforms?
For example i want to make code for stearing a character that use in the editor wsad but when it runs on the ipad it should use a virtuel joystick.
I read that i can make this but do not find it anymore and that way i do not have to switch fo and on things when build for different platforms.
Hope someone can point me to the...
How to make code that automaticly switch wich part to use when on different platforms?