quantum-space-buddies/QSB/EyeOfTheUniverse/Tomb/TombManager.cs
2022-05-04 10:18:58 +01:00

22 lines
557 B
C#

using Cysharp.Threading.Tasks;
using QSB.WorldSync;
using System.Threading;
namespace QSB.EyeOfTheUniverse.Tomb;
internal class TombManager : WorldObjectManager
{
public override bool DlcOnly => true;
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Eye;
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
{
if (QSBCore.IsHost)
{
// sike!! no worldobjects here
var tomb = QSBWorldSync.GetUnityObject<EyeTombController>();
tomb.gameObject.AddComponent<EyeTombWatcher>();
}
}
}