Skip to content

Shot Input Bridge

The Shot Input Bridge component enables Local Players to control their individual Shot Cameras in a multiplayer environment. It provides automatic player assignment and input handling for camera control.

Shot Input Bridge component interface in Unity

Setup

  1. Add the Shot Input Bridge component to any Shot Camera GameObject
  2. The Local Player Manager will automatically assign players at runtime
  3. No additional configuration is required

Component Interface

Player Info

  • Player Number: Display-only field showing which player is currently assigned to this shot camera
    • Updates automatically during runtime
    • Useful for debugging and development

Split Screen Requirement

The Shot Input Bridge component is required on any Shot Camera used by Local Players in split-screen mode. Without it, camera control will not function properly.

Usage Guidelines

Best Practices

  • Add to all player-controlled Shot Cameras
  • Use with the Local Player Manager's camera configuration
  • Include in player prefabs that need camera control

Common Setup

  1. Create a Shot Camera prefab
  2. Add the Shot Input Bridge component
  3. Save as a prefab
  4. Assign a Player Shot Prefab within Local Player Mana ger

Automatic Assignment

The Shot Input Bridge handles player assignment automatically - you don't need to manually connect players to their cameras.