Skip to main content

Interface IControllable

Marker interface that PlayerController uses to locate the active pawn in the scene via GetComponent, without requiring a hard reference to any concrete actor type.

public interface IControllable

Remarks​

Because both the vehicle and pedestrian pawns implement this interface, the same controller can attach to whichever pawn is active in a given scenario without code changes — swapping the active pawn prefab is sufficient.