Ejemplo n.º 1
0
    void ClientUpdate()
    {
        if (!UI_State.isInUI)
        {
            //Cursor Position
            HUDPointer.rectTransform.position = Input.mousePosition;

            for (int count = 0; count < 2; count++)
            {
                bool to = false;
                if (Input.GetMouseButton(count))
                {
                    to = true;
                    playerCore.CmdCancelItem(false);
                }
                CmdToggleInput(count, to);
            }
        }
    }