- Home /
Question by
softmarshmallow · Jun 21, 2016 at 07:42 AM ·
networkingphotonpun
uNet like photon
in photon i can do
[PunRpc]
public void RpcDoSomething(string example){
print(example);
}
public void CallDoSomething(string example){
photonview.RPC("RpcDoSomething", photontarget.others, example);
}
void Start()
{
CallDoSomthing("RpcDosomething will be called from all clients");
}
but in uNet I'm not sure but, guess we need syncvar, Rpc, Command.....
am i right??
how do i do stuff like above in uNet??
Comment
Your answer
Follow this Question
Related Questions
PUN 2 - Attempting to rejoin room and getting "User does not exist in this game". 1 Answer
How do I instantiate and set the parent of a Gameobject using Photon? 0 Answers
Photon Unity Networking - Player Camera Instantiate 0 Answers
[PUN2] Unable To Connect to Master Server 0 Answers
Photon Server, Tutorial? 1 Answer