21 lines
576 B
C#
Raw Normal View History

2021-12-23 17:07:29 -08:00
using QSB.JellyfishSync.WorldObjects;
using QSB.WorldSync;
2021-12-23 17:07:29 -08:00
using System.Collections.Generic;
namespace QSB.JellyfishSync
{
public class JellyfishManager : WorldObjectManager
{
public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem;
2021-12-13 23:37:21 -08:00
public static readonly List<JellyfishController> Jellyfish = new();
protected override void RebuildWorldObjects(OWScene scene)
2021-12-13 23:37:21 -08:00
{
Jellyfish.Clear();
Jellyfish.AddRange(QSBWorldSync.GetUnityObjects<JellyfishController>());
2021-12-17 16:26:44 -08:00
QSBWorldSync.Init<QSBJellyfish, JellyfishController>(Jellyfish);
2021-12-13 23:37:21 -08:00
}
}
}