Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to make code that automaticly switch wich part to use when on different platforms?

$
0
0
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?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>