Search Unity

Developing for other platforms/ consoles

Discussion in 'General Discussion' started by CHOO5D, Feb 21, 2020.

  1. CHOO5D

    CHOO5D

    Joined:
    Dec 24, 2016
    Posts:
    55
    Hi, I have a game made for PC and if I were to port the game to switch or xbox, is it best to duplicate the whole project or just do some adjustments in my current project?

    I am hoping that duplicating the project will not be the best choice since my game is a big project.

    thanks
     
  2. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,566
    I believe the right idea would be to make adjustments to current project so it compiles correctly for all targets. For platform specific stuff you can use conditional compilation.
    https://docs.unity3d.com/Manual/PlatformDependentCompilation.html

    You should not duplicate, because the versions will very quickly desync.
     
    TonyLi likes this.