Esempio n. 1
0
    private void SpawnHandler(RemoteClient client)
    {
        Vector3 position = client.Player.transform.position;
        Dictionary <string, object> parameters = new Dictionary <string, object>();

        parameters.Add("x", position.x);
        parameters.Add("y", position.y);
        parameters.Add("z", position.z);
        client.Call("SetPosition", parameters, (string error, object result) => {
            return(0);
        });
    }