Do you need another photon view component for the child of your gameobject(a sprite)
Options
Do you need another photon view component for the child of your gameobject(a sprite)
Does the bullet need photonnetwork.instantiate
And if so how do i get the instantiated object as gameobject bullet = photonnetwork.instantiate(......)
Does not seem to work
0
Answers
-
hm. if the child never becomes unparented and moving on its own, probably unlikely, but in some cases sure. in the case of bullets, you may want to not make them networked at all. if they're being fired in large amounts from a gun. you just send a network message (probably an RPC) saying "hey everybody, i fired a bullet from this position and it's going in this direction and i'm the one who owns it."
0