21 lines
514 B
C#
Raw Normal View History

2021-12-14 23:57:21 -08:00
using QSB.OrbSync.WorldObjects;
2020-09-29 21:34:46 +01:00
using QSB.WorldSync;
2021-10-21 17:21:54 +01:00
using System.Collections.Generic;
2020-09-29 21:34:46 +01:00
namespace QSB.OrbSync
{
2021-03-23 13:18:29 +00:00
public class OrbManager : WorldObjectManager
2020-12-02 21:29:53 +00:00
{
2021-12-20 22:42:29 -08:00
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
2021-12-13 21:18:16 -08:00
public static readonly List<NomaiInterfaceOrb> Orbs = new();
2021-10-21 17:21:54 +01:00
public override void BuildWorldObjects(OWScene scene)
2020-12-02 21:29:53 +00:00
{
2021-12-13 21:18:16 -08:00
Orbs.Clear();
Orbs.AddRange(QSBWorldSync.GetUnityObjects<NomaiInterfaceOrb>());
2021-12-17 16:26:44 -08:00
QSBWorldSync.Init<QSBOrb, NomaiInterfaceOrb>(Orbs);
2021-12-13 21:18:16 -08:00
}
2020-12-02 21:29:53 +00:00
}
}