0
Good afternoon, everyone...
I’m helping a staff to make a PC game mod compatible with their Android version (Stardew Valley). The problem is that I need to use methods that only exist in the android version to draw in HUD.
The two versions of the game have the same DLL, but with some different methods.
I thought of using the #if
and #endif
to specify these methods in without giving build error, but the problem is the definition of that if.
How do I specify this #if to be processed only if it is android? Or how I could create a conditional #define for android?
PS. Creating a version for each platform is not an option.
Did you install the Android sdk and set everything right in your project? What didn’t work? Introduce a [MCVE]
– Leandro Angelo