mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
96c8bb6d1d
This reverts commit 53093ddd66
.
26 lines
672 B
C#
26 lines
672 B
C#
using QSB.WorldSync;
|
|
|
|
namespace QSB.PoolSync
|
|
{
|
|
internal class PoolManager : WorldObjectManager
|
|
{
|
|
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>();
|
|
}
|
|
}
|
|
}
|
|
}
|