Search Unity

Sending Rpc or Message to a specific client to change scene

Discussion in 'Multiplayer' started by maheshwarirohit14, Dec 15, 2018.

  1. maheshwarirohit14

    maheshwarirohit14

    Joined:
    Dec 11, 2018
    Posts:
    3
    I have a server scene and a client scene. As clients get connect to server, On server side it is added to a list .
    Like a prefab is spawned in the list with client's name and a button.
    I want to change the scene of an individual client when server hits the button of that specific client.

    I got references like TargetRpc but don't exactly know how to use it.
     
  2. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347