Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Scaling canvas for multiplayer

Discussion in 'Input System' started by EnderManWiggins, Nov 23, 2019.

  1. EnderManWiggins

    EnderManWiggins

    Joined:
    May 22, 2019
    Posts:
    29
    So I am trying to make a split-screen multiplayer game but the canvas is not calling when two players join.

    If you know how to fix this, please help.

    Thanks, Pac Mann
     
  2. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    You mean not subdividing when the second player joins?

    For PlayerInputManager to handle screen splitting, you need to both have split-screen enabled on the manager and cameras to be associated with players through the "camera" property. The camera associated with the player has to be the one used for rendering the player's view.
     
  3. EnderManWiggins

    EnderManWiggins

    Joined:
    May 22, 2019
    Posts:
    29
    Thanks that fixed the problem