Hello,
First,
When i must use [RPC] on function? how i can know when it needs;
Example: I want all players to see one special effect, i have one function who do that. ExShowEffect.
[RPC]
public static void ExShowEffect(GameObject particleObject)
{
foreach(GameObject player in ONLINEPLAYERS)
{
GameObject b = Instantiate(particleObject, player.transform.position);
}
}
This pseudo-code is right?
Second,
I want to create a small web-multiplayer game. I wan’t to create one global room where all will join there, there will no be option for “Start server” to clients.
Is that possible without having Master server? i want, just who log-enter game to see each other, thats only.