Search Unity

World Filter for Subscenes?

Discussion in 'Entity Component System' started by Wobbers, May 12, 2020.

  1. Wobbers

    Wobbers

    Joined:
    Dec 31, 2017
    Posts:
    55
    Lets say I have a subscene that I only want to be loaded into my ServerWorld, but not my ClientWorld.
    I would like to be able to specify in which world(s) the subscene should put its stuff.
    Looks like the SubScene Behaviour just puts the stuff into each world that has a SceneSystem at the moment.

    I could probably work around that by creating a new scene that just holds the subscene and keeping track of this additional scene when loading/unloading my shared scene, but that seems a little inconvenient and error prone to me.
    Or is there any other way I am missing?