Munchy2007

Part5a_4

Jan 10th, 2018
4,175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1.         [PunRPC]
  2.         void RPC_FireMissile(PhotonMessageInfo info)
  3.         {
  4.             var missile = Instantiate(missilePefab, transform.position, transform.rotation);
  5.             missile.SetOwner(info.photonView);
  6.             missile.gameObject.SetActive(true);
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment