using QSB.WorldSync; namespace QSB.PoolSync { internal class PoolManager : WorldObjectManager { public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem; protected override void RebuildWorldObjects(OWScene scene) { foreach (var streaming in QSBWorldSync.GetUnityObjects()) { streaming.gameObject.AddComponent(); } foreach (var camera in QSBWorldSync.GetUnityObjects()) { camera.gameObject.AddComponent(); } foreach (var platform in QSBWorldSync.GetUnityObjects()) { platform.gameObject.AddComponent(); } } } }