Hi, I’m currently working on some fighting multiplayer game where many users login to the server and join different maps to fight each other.
and I’m using network.Instantiate() to instantiate strike effects when my character hits the opponent:
Network.Instantiate(StrikeFx, transform.position, transform.rotation, 0);
But the problem is that when I instantiate this effects prefab, this effect can be seen in other players in different map.
So I want to show this effect only to those players who are in the same map. I guess I can do it using network groups, but I’m not sure how to use it.
Can anyone give me a clue??