mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
19 lines
638 B
C#
19 lines
638 B
C#
using Cysharp.Threading.Tasks;
|
|
using QSB.EchoesOfTheEye.RaftSync.TransformSync;
|
|
using QSB.Utility.LinkedWorldObject;
|
|
using System.Threading;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
|
|
|
|
public class QSBSealRaft : LinkedWorldObject<SealRaftController, RaftTransformSync>
|
|
{
|
|
public override void SendInitialState(uint to) { }
|
|
|
|
public override async UniTask Init(CancellationToken ct) =>
|
|
EnableDisableDetector.Add(AttachedObject.gameObject, this);
|
|
|
|
protected override GameObject NetworkObjectPrefab => QSBNetworkManager.singleton.RaftPrefab;
|
|
protected override bool SpawnWithServerAuthority => false;
|
|
}
|