Search Unity

NetworkServer.SendToReady

Discussion in 'Multiplayer' started by darkmask58, Jul 13, 2015.

  1. darkmask58

    darkmask58

    Joined:
    May 9, 2015
    Posts:
    25
  2. seanr

    seanr

    Unity Technologies

    Joined:
    Sep 22, 2014
    Posts:
    669
    the contextObject is for object visibility. If a player cannot see an object, then that player is not sent messages for that object. Passing null as the contextObj will make the message be sent to all ready players, regardless of visibility rules.
     
    darkmask58 likes this.
  3. darkmask58

    darkmask58

    Joined:
    May 9, 2015
    Posts:
    25
    I'll try. Thanks seanr!