2022-01-28 20:49:07 -08:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.EchoesOfTheEye.LightSensorSync.WorldObjects;
|
2021-11-08 20:55:53 +00:00
|
|
|
|
using QSB.WorldSync;
|
2022-01-28 20:49:07 -08:00
|
|
|
|
using System.Threading;
|
2021-11-08 20:55:53 +00:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.EchoesOfTheEye.LightSensorSync;
|
|
|
|
|
|
|
|
|
|
internal class LightSensorManager : WorldObjectManager
|
2021-11-08 20:55:53 +00:00
|
|
|
|
{
|
2022-03-09 21:24:32 -08:00
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
2021-12-20 18:41:12 -08:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) => QSBWorldSync.Init<QSBLightSensor, SingleLightSensor>();
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|