Z
ZeeSvk
Guest
I have a very odd question.
Is it possible to make platform specific code?
I am learning GMS and am making a little app but i would want to build for Windows 10, Windows UP, Windows 10 Phone, Android, Linux (i dont own a Mac)
And I would want text to be platform specific f.e.
Windows, Linux would say: "Press Enter to Start"
Android and Windows Phone would say: "Tap to Start"
or I created Virtual Keys for backspace (so i can use Androids back button to quit the app). but would want to disable it on Windows and Linux.
f.e. something like unity has where you can say:
#if DEVICE_WINDOWS, DEVICE_LINUX do this code
#if DEVICE_ANDROID, DEVICE_WINDOWS_PHONE do another code
Hope i made it clear
Can that be done? Thank you in advance.
Is it possible to make platform specific code?
I am learning GMS and am making a little app but i would want to build for Windows 10, Windows UP, Windows 10 Phone, Android, Linux (i dont own a Mac)
And I would want text to be platform specific f.e.
Windows, Linux would say: "Press Enter to Start"
Android and Windows Phone would say: "Tap to Start"
or I created Virtual Keys for backspace (so i can use Androids back button to quit the app). but would want to disable it on Windows and Linux.
f.e. something like unity has where you can say:
#if DEVICE_WINDOWS, DEVICE_LINUX do this code
#if DEVICE_ANDROID, DEVICE_WINDOWS_PHONE do another code
Hope i made it clear
Can that be done? Thank you in advance.