instantiating object to target player

Options
animatrix_09
edited June 2014 in DotNet
Hi guys good day,

is there a way we can instantiate an object using PhotonNetwork.Insatantite to a target player?
so this object can be seen only by that player and not to the others.

considering if I have 2000 players in mobile game if all of the players will receive this object, this will log the game.

thanks

Comments

  • Tobias
    Options
    You can't target Instantiate for a single player. This is meant for objects that are visible by all players in the scene.
    You can use an RPC and send that to a single target player. This RPC can then instantiate a GameObject and start a routine to affect that target player only.
  • oh thanks Tobias that would work