quantum-space-buddies/QSB/JellyfishSync/JellyfishManager.cs

21 lines
571 B
C#
Raw Normal View History

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