Home > other >  Unet multiplayer games for his Player
Unet multiplayer games for his Player

Time:09-22

I meet a problem, UNET network game, two players in the game, each player can be fired bullets, there are multiple enemies in the scene at the same time, the enemy attack will die by the player bullets, now problem is: how do we determine, when the enemy attacked the bullet is from which players? I'd like to launch the player bullets (two players are the same kind of bullets fired) to establish a connection between, is unable to properly build anyway, because the word is controlled by the player launch of bullets, by the server to invoke the launch logic? When I launch the call to the server is introduced into the local emission player Netid, but don't look good, the server can receive, but local didn't seem to receive? What should I do?
  • Related