mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
21 lines
519 B
C#
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);
|
|
}
|
|
}
|
|
}
|