mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
21 lines
576 B
C#
21 lines
576 B
C#
using QSB.JellyfishSync.WorldObjects;
|
|
using QSB.WorldSync;
|
|
using System.Collections.Generic;
|
|
|
|
namespace QSB.JellyfishSync
|
|
{
|
|
public class JellyfishManager : WorldObjectManager
|
|
{
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem;
|
|
|
|
public static readonly List<JellyfishController> Jellyfish = new();
|
|
|
|
protected override void RebuildWorldObjects(OWScene scene)
|
|
{
|
|
Jellyfish.Clear();
|
|
Jellyfish.AddRange(QSBWorldSync.GetUnityObjects<JellyfishController>());
|
|
QSBWorldSync.Init<QSBJellyfish, JellyfishController>(Jellyfish);
|
|
}
|
|
}
|
|
}
|