Search Unity

Question Excluding Packages from subscene and builds

Discussion in 'Entity Component System' started by Opeth001, Oct 25, 2020.

  1. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,117
    Good morning all,

    I am working on a multiplayer game project that requires an authoritative server.

    the project is made up of 3 sections:
    ClientOnly: systems, components, packages like ''Hybrid Renderer ''
    ServerOnly: systems, components
    Server and client: shared systems, shared components

    I am trying to build Client and Server versions separatly.
    Client: include all entities with Physical and Rendering components
    Server: include all entities with Physical but exclude rendering components

    How can i disable packages like the Hybrid Renderer on certain sub-scenes to exclude their conversion systems?
     
    Extrys likes this.