mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
25 lines
686 B
C#
25 lines
686 B
C#
|
using QSB.WorldSync;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace QSB.PoolSync
|
|||
|
{
|
|||
|
class PoolManager : WorldObjectManager
|
|||
|
{
|
|||
|
protected override void RebuildWorldObjects(OWScene scene)
|
|||
|
{
|
|||
|
foreach (var streaming in Resources.FindObjectsOfTypeAll<NomaiRemoteCameraStreaming>())
|
|||
|
{
|
|||
|
streaming.gameObject.AddComponent<CustomNomaiRemoteCameraStreaming>();
|
|||
|
}
|
|||
|
foreach (var camera in Resources.FindObjectsOfTypeAll<NomaiRemoteCamera>())
|
|||
|
{
|
|||
|
camera.gameObject.AddComponent<CustomNomaiRemoteCamera>();
|
|||
|
}
|
|||
|
foreach (var platform in Resources.FindObjectsOfTypeAll<NomaiRemoteCameraPlatform>())
|
|||
|
{
|
|||
|
platform.gameObject.AddComponent<CustomNomaiRemoteCameraPlatform>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|