- Home /
Using a PC Oriented code to make an Android Build.
Hi,
I made a game and its completely finished, I've played it on Windows and there's no problems with it, everything works as it should.
My question is: Can I use that game as it is now for Android?
I don't know if I just have to build it selecting Android OS in the Build window or if I have to change everything related to user interaction system in my scripts code.
Answer by AurimasBlazulionis · Sep 17, 2016 at 05:41 AM
Yes, sure, you can. But you will need to implement mobile input for moving etc. You can use CrossPlatformInput package from standard assets for that. All your Input.BlaBlaBla
will have to be changed to CrossPlatformInputManager.BlaBlaBla
. Just bear in mind, GetKey
in CPI is GetButton
.
Your answer
Follow this Question
Related Questions
Built .exe doesn't work on other machines! 3 Answers
Crossplatform Windows and Android: How to share same codebase? 3 Answers
Is there a way to make a pc build that will not lose focus when selecting another app ? 1 Answer
Is Standard Assets compatible on Android or IOS? 0 Answers
Unity PC (Windows) Build failing 2 Answers