2021-11-25 15:25:17 +00:00
|
|
|
|
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
2020-12-31 12:10:55 +00:00
|
|
|
|
using QSB.WorldSync;
|
|
|
|
|
|
2021-11-25 15:25:17 +00:00
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync
|
2020-12-31 12:10:55 +00:00
|
|
|
|
{
|
2021-03-23 13:18:29 +00:00
|
|
|
|
internal class SpiralManager : WorldObjectManager
|
2020-12-31 12:10:55 +00:00
|
|
|
|
{
|
2021-12-21 11:45:40 -08:00
|
|
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
|
2021-12-20 18:41:12 -08:00
|
|
|
|
|
2022-01-18 00:46:27 -08:00
|
|
|
|
public override void BuildWorldObjects(OWScene scene)
|
2020-12-31 12:10:55 +00:00
|
|
|
|
{
|
2021-12-26 20:10:38 -08:00
|
|
|
|
// wait for all late initializers (which includes nomai text) to finish
|
|
|
|
|
StartDelayedReady();
|
|
|
|
|
QSBCore.UnityEvents.RunWhen(() => LateInitializerManager.isDoneInitializing, () =>
|
|
|
|
|
{
|
|
|
|
|
FinishDelayedReady();
|
|
|
|
|
QSBWorldSync.Init<QSBNomaiText, NomaiText>(typeof(GhostWallText));
|
|
|
|
|
});
|
2020-12-31 12:10:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|