mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
28 lines
755 B
C#
28 lines
755 B
C#
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<NomaiRemoteCameraStreaming>())
|
|
{
|
|
streaming.gameObject.AddComponent<CustomNomaiRemoteCameraStreaming>();
|
|
}
|
|
|
|
foreach (var camera in QSBWorldSync.GetUnityObjects<NomaiRemoteCamera>())
|
|
{
|
|
camera.gameObject.AddComponent<CustomNomaiRemoteCamera>();
|
|
}
|
|
|
|
foreach (var platform in QSBWorldSync.GetUnityObjects<NomaiRemoteCameraPlatform>())
|
|
{
|
|
platform.gameObject.AddComponent<CustomNomaiRemoteCameraPlatform>();
|
|
}
|
|
}
|
|
}
|
|
}
|