quantum-space-buddies/QSB/Utility/LinkedWorldObject/ILinkedWorldObject.cs

15 lines
396 B
C#
Raw Normal View History

using Mirror;
using QSB.WorldSync;
2022-03-14 07:51:25 +00:00
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);
}