Game/ControlSystem/IPlayerControllable.cs

Interface for components that can be driven by a player occupying a linked seat. It exposes CanControl to check if a player may control the component and OnControl which is called each fixed update while the player input is active.

/// <summary>
/// A component that can be driven by the player occupying a linked seat.
/// <see cref="OnControl"/> runs once per fixed update with the player's input connection active.
/// </summary>
public interface IPlayerControllable
{
	bool CanControl( Player player ) => true;
	void OnControl();
}