public void OnPhotonPlayerPropertiesChanged(object[] playerAndUpdatedProps)
    {
        var hash = playerAndUpdatedProps[1] as Hashtable;

        foreach (var a in hash)
        {
            VarParse.SetValue((string)a.Key, a.Value);
        }
    }
    public void OnPhotonCustomRoomPropertiesChanged(Hashtable hash)
    {
        Debug.Log("OnPhotonCustomRoomPropertiesChanged");
        //room.varParse.UpdateValues();
        //var hash = playerAndUpdatedProps[1] as Hashtable;
        foreach (var a in hash)
        {
            if (a.Key is string)
            {
                VarParse.SetValue((string)a.Key, a.Value);
            }
        }
        //else
        //    Debug.LogError("wtf " + a.Key);

        Time.timeScale      = room.gameSpeed;
        Time.fixedDeltaTime = 0.02f / Time.timeScale;
        Physics.gravity     = new Vector3(0, room.gravity, 0);
    }