Munchy2007

Part6a_3

Mar 12th, 2018
9,120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1.         public override void OnPhotonInstantiate(PhotonMessageInfo info)
  2.         {
  3.             name = new System.Text.StringBuilder()
  4.                 .Append(photonView.owner.NickName)
  5.                 .Append(" [")
  6.                 .Append(photonView.viewID)
  7.                 .Append("]")
  8.                 .ToString();
  9.  
  10.             BroadcastMessage("OnInstantiate", info, SendMessageOptions.DontRequireReceiver);
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment