quantum-space-buddies/QSB/Utility/LinkedWorldObject/ILinkedWorldObject.cs
2022-03-14 03:34:00 -07:00

15 lines
396 B
C#

using Mirror;
using QSB.WorldSync;
namespace QSB.Utility.LinkedWorldObject;
/// <summary>
/// a world object that is linked to a network behaviour
/// </summary>
public interface ILinkedWorldObject<out TNetworkBehaviour> : IWorldObject
where TNetworkBehaviour : NetworkBehaviour
{
TNetworkBehaviour NetworkBehaviour { get; }
void SetNetworkBehaviour(NetworkBehaviour networkBehaviour);
}