mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-27 03:35:20 +00:00
21 lines
670 B
C#
21 lines
670 B
C#
using Cysharp.Threading.Tasks;
|
|
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
|
using QSB.WorldSync;
|
|
using System.Threading;
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync
|
|
{
|
|
internal class SpiralManager : WorldObjectManager
|
|
{
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.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);
|
|
|
|
QSBWorldSync.Init<QSBNomaiText, NomaiText>(typeof(GhostWallText));
|
|
}
|
|
}
|
|
}
|