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

question about the network tutorial project

Discussion in 'Multiplayer' started by llavigne, Aug 3, 2008.

  1. llavigne

    llavigne

    Joined:
    Dec 27, 2007
    Posts:
    977
    when there is already a master server, NetworkLevelLoad GUI for choosing level isn't used and when the client presses connect it loades the server's scene automatically and connects to it

    Code (csharp):
    1.  
    2. @RPC
    3. function LoadLevel (level : String, levelPrefix : int)
    4.  
    is called somehow but I cannot figure out how...
    It doesn't seem to get called from within function RPC_LoadLevel(level:String) and I need to pass more than the levelprrefix in order to change player from user choice.