quantum-space-buddies/QSB/WorldSync/WorldObjectManager.cs
JohnCorby 014ee9dfeb oops
2022-03-07 17:38:22 -08:00

24 lines
516 B
C#

using Cysharp.Threading.Tasks;
using QSB.Utility;
using System.Threading;
using UnityEngine;
namespace QSB.WorldSync;
public enum WorldObjectScene
{
Both,
SolarSystem,
Eye
}
public abstract class WorldObjectManager : MonoBehaviour, IAddComponentOnStart
{
public abstract WorldObjectScene WorldObjectScene { get; }
public abstract UniTask BuildWorldObjects(OWScene scene, CancellationToken ct);
public virtual void UnbuildWorldObjects() { }
public override string ToString() => GetType().ToString();
}