Esempio n. 1
0
    private void leftMouseHeld()
    {
        //Debug.Log("mouse held");
        SelectionBox sb = player.mHud.mSelectionBox;

        if (sb.isActive() == false)
        {
            sb.setActive(true);
            sb.setTopLeftCorner(mHoldMouseStart);
        }
        else
        {
            sb.setBottonRightCorner(Input.mousePosition);
        }
    }