mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
23 lines
541 B
C#
23 lines
541 B
C#
using QSB.MeteorSync.WorldObjects;
|
|
using QSB.WorldSync;
|
|
|
|
namespace QSB.MeteorSync
|
|
{
|
|
public class MeteorManager : WorldObjectManager
|
|
{
|
|
public static bool Ready;
|
|
|
|
protected override void RebuildWorldObjects(OWScene scene)
|
|
{
|
|
// wait a bit because meteors get created late
|
|
QSBCore.UnityEvents.FireInNUpdates(() =>
|
|
{
|
|
QSBWorldSync.Init<QSBMeteorLauncher, MeteorLauncher>();
|
|
QSBWorldSync.Init<QSBMeteor, MeteorController>();
|
|
QSBWorldSync.Init<QSBFragment, FragmentIntegrity>();
|
|
Ready = true;
|
|
}, 10);
|
|
}
|
|
}
|
|
}
|