quantum-space-buddies/QSB/OrbSync/OrbManager.cs
2021-12-17 16:26:44 -08:00

19 lines
443 B
C#

using QSB.OrbSync.WorldObjects;
using QSB.WorldSync;
using System.Collections.Generic;
namespace QSB.OrbSync
{
public class OrbManager : WorldObjectManager
{
public static readonly List<NomaiInterfaceOrb> Orbs = new();
protected override void RebuildWorldObjects(OWScene scene)
{
Orbs.Clear();
Orbs.AddRange(QSBWorldSync.GetUnityObjects<NomaiInterfaceOrb>());
QSBWorldSync.Init<QSBOrb, NomaiInterfaceOrb>(Orbs);
}
}
}