Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Discussion Best practice to cross-platform on unity?

Discussion in 'Editor & General Support' started by Alemkhan_ut, Jan 7, 2023.

  1. Alemkhan_ut

    Alemkhan_ut

    Joined:
    Jun 23, 2018
    Posts:
    1
    Sorry for my English, always open for Grammarly edit =)

    Best practice to cross-platform on unity?

    I have a project, help me with a question, I deploy WebGL game for 3 web game service platform: VK play, Yandex Games, Facebook Games, and maybe any think other, and each has self SDK, and interfere with the other, I need a solution, can I split my project to for any other web game service?

    For a split project on Android, IOS, and PC I use Assembly Definition, but this won't split platforms on other services

    1. Maybe use Git Branches for any other Web Service? But if I want change base code, it create me new problem with merge all WebGL branches. Example: WebGL_Yandex_Games, WebGL_VK_Games, WebGL_Facebook_Games branches on repo
    2. Create for any other Web Service, a other the unity Project? It won't performance, project size is large than 1GB
    3. Maybe with Assembly Definition split project on WebGL and contains an entry for all web services, but can I know what web service use now? VK, Yandex or Facebook?