2022-05-04 09:18:58 +00:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.WorldSync;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
|
|
|
|
|
namespace QSB.EyeOfTheUniverse.Tomb;
|
|
|
|
|
|
2023-07-28 18:30:57 +00:00
|
|
|
|
public class TombManager : WorldObjectManager
|
2022-05-04 09:18:58 +00:00
|
|
|
|
{
|
|
|
|
|
public override bool DlcOnly => true;
|
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Eye;
|
|
|
|
|
|
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
2022-08-18 00:11:53 +00:00
|
|
|
|
// sike!! no worldobjects here
|
|
|
|
|
var tomb = QSBWorldSync.GetUnityObject<EyeTombController>();
|
|
|
|
|
tomb.gameObject.AddComponent<EyeTombWatcher>();
|
2022-05-04 09:18:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|