Пример #1
0
    public void RpcUpdateChar(string key, char vel)
    {
        if (!dict.ContainsKey(key))
        {
            return;
        }
        SpawnableObject comp = dict[key];

        comp.SetValue(key, vel);
    }
Пример #2
0
    public void CmdAcknowledge(string key, string value)
    {
        if (!dict.ContainsKey(key))
        {
            return;
        }
        SpawnableObject comp = dict[key];

        comp.SetValue(key, value);
        Debug.Log("Cmd ACK of message " + value);
    }
Пример #3
0
    public void RpcUpdateQuaternion(string key, Quaternion value)
    {
        if (!dict.ContainsKey(key))
        {
            return;
        }
        SpawnableObject comp = dict[key];

        comp.SetValue(key, value);
        Debug.Log("Cmd ACK of message " + value.ToString());
    }