Ejemplo n.º 1
0
    public void SendAnimWalk(string xName, float xFloat, string yName, float yFloat)
    {
        SFSArray AnimArray = new SFSArray();

        AnimArray.AddText(xName);
        AnimArray.AddFloat(xFloat);
        AnimArray.AddText(yName);
        AnimArray.AddFloat(yFloat);

        List <UserVariable> userVariables = new List <UserVariable>();

        userVariables.Add(new SFSUserVariable("animWalk", AnimArray, 6));

        SmartFoxConnection.SFS.Send(new SetUserVariablesRequest(userVariables));
    }