quantum-space-buddies/QSB/OrbSync/OrbManager.cs
JohnCorby 9da207730d oops
2021-12-20 22:42:29 -08:00

21 lines
519 B
C#

using QSB.OrbSync.WorldObjects;
using QSB.WorldSync;
using System.Collections.Generic;
namespace QSB.OrbSync
{
public class OrbManager : WorldObjectManager
{
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
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);
}
}
}