mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-22 21:40:39 +00:00
22 lines
637 B
C#
22 lines
637 B
C#
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
|
using QSB.WorldSync;
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync
|
|
{
|
|
internal class SpiralManager : WorldObjectManager
|
|
{
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
|
|
|
|
protected override void RebuildWorldObjects(OWScene scene)
|
|
{
|
|
// wait for all late initializers (which includes nomai text) to finish
|
|
StartDelayedReady();
|
|
QSBCore.UnityEvents.RunWhen(() => LateInitializerManager.isDoneInitializing, () =>
|
|
{
|
|
FinishDelayedReady();
|
|
QSBWorldSync.Init<QSBNomaiText, NomaiText>(typeof(GhostWallText));
|
|
});
|
|
}
|
|
}
|
|
}
|