using Cysharp.Threading.Tasks; using QSB.TriggerSync.WorldObjects; using QSB.WorldSync; using System.Threading; namespace QSB.TriggerSync; public class TriggerManager : WorldObjectManager { public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both; public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) { QSBWorldSync.Init(x => x.playerTrackingZone); QSBWorldSync.Init(x => x._watchPlayerVolume); QSBWorldSync.Init(x => x._triggerVolume); QSBWorldSync.Init(x => x._cageTrigger); QSBWorldSync.Init(x => x._smokeSphereTrigger); QSBWorldSync.Init(x => x._maskZoneTrigger); QSBWorldSync.Init(x => x._shuttleVolume); } }