Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Discussion Best practice to cross-platform on unity?

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

  1. Utepkaliev

    Utepkaliev

    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?