示例#1
0
    public void sendFloatCmd(string command, float sendParam)
    {
        switch (command)
        {
        case "Time":
            DB.UpdateTime(sendParam);
            break;

        case "deltaTime":
            DB.AddTimeAmount(sendParam);
            break;
        }
    }