2022-01-28 20:49:07 -08:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
2020-12-31 12:10:55 +00:00
|
|
|
|
using QSB.WorldSync;
|
2022-01-28 20:49:07 -08:00
|
|
|
|
using System.Threading;
|
2020-12-31 12:10:55 +00:00
|
|
|
|
|
2022-02-27 04:40:44 -08:00
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync
|
2020-12-31 12:10:55 +00:00
|
|
|
|
{
|
2022-02-27 04:40:44 -08:00
|
|
|
|
internal class SpiralManager : WorldObjectManager
|
2022-02-24 22:04:54 -08:00
|
|
|
|
{
|
2022-02-27 04:40:44 -08:00
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
|
|
|
|
|
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
|
|
|
|
// wait for all late initializers (which includes nomai text) to finish
|
|
|
|
|
await UniTask.WaitUntil(() => LateInitializerManager.isDoneInitializing, cancellationToken: ct);
|
2022-01-28 20:57:17 -08:00
|
|
|
|
|
2022-02-27 04:40:44 -08:00
|
|
|
|
QSBWorldSync.Init<QSBNomaiText, NomaiText>(typeof(GhostWallText));
|
|
|
|
|
}
|
2020-12-31 12:10:55 +00:00
|
|
|
|
}
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|