mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
26 lines
550 B
C#
26 lines
550 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 virtual bool DlcOnly => false;
|
|
|
|
public abstract UniTask BuildWorldObjects(OWScene scene, CancellationToken ct);
|
|
|
|
public virtual void UnbuildWorldObjects() { }
|
|
|
|
public override string ToString() => GetType().Name;
|
|
}
|