quantum-space-buddies/QSB/Tools/TranslatorTool/TranslationSync/SpiralManager.cs

19 lines
660 B
C#
Raw Normal View History

2022-01-29 04:49:07 +00:00
using Cysharp.Threading.Tasks;
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
using QSB.WorldSync;
2022-01-29 04:49:07 +00:00
using System.Threading;
2022-03-03 03:46:33 +00:00
namespace QSB.Tools.TranslatorTool.TranslationSync;
internal class SpiralManager : WorldObjectManager
{
2022-03-03 03:46:33 +00:00
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
2022-03-03 03:46:33 +00:00
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-29 04:57:17 +00:00
2022-03-03 03:46:33 +00:00
QSBWorldSync.Init<QSBNomaiText, NomaiText>(typeof(GhostWallText));
}
}