public AssignClientAuthority ( |
||
conn | The connection of the client to assign authority to. | |
return | bool |
void CmdChangeColor(GameObject go, Color c) { objNetId = go.GetComponent<NetworkIdentity>(); objNetId.AssignClientAuthority(connectionToClient); RpcUpdateTower(go, c); objNetId.RemoveClientAuthority(connectionToClient); }