using Cysharp.Threading.Tasks; using QSB.OrbSync.WorldObjects; using QSB.Utility; using QSB.WorldSync; using System.Collections.Generic; using System.Threading; namespace QSB.OrbSync { public class OrbManager : WorldObjectManager { public override WorldObjectType WorldObjectType => WorldObjectType.Both; public static readonly List Orbs = new(); public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken cancellationToken) { Orbs.Clear(); Orbs.AddRange(QSBWorldSync.GetUnityObjects().SortDeterministic()); QSBWorldSync.Init(Orbs); } } }