Porting to android with unity

edited in General
Hey guys. I'm working on a little game and I want to develop a PC and Android version at the same time but I don't want to have to add X feature to the port every time something is added to the main version. I know I can limit code to only be in a certain version by doing if UNITY_ANDROID but how would I do it with game objects? Could I do it with version control?

Comments

  • What differences would you expect in game objects? Surely that's just more #ifdef checks in code anyway, right? Generally the things that are different are interface, camera and input objects. You could simply have dummy gameobjects in your scene that instantiate the correct "versions" of your interface.
  • Hmmm, thanks. That should work.
Sign In or Register to comment.