Beyond_Beyaan.BBUniStretchButton.MouseUp C# (CSharp) 메소드

MouseUp() 공개 메소드

public MouseUp ( int x, int y ) : bool
x int
y int
리턴 bool
        public bool MouseUp(int x, int y)
        {
            if (Active && pressed)
            {
                pressed = false;
                if (x >= _xPos && x < _xPos + _width && y >= _yPos && y < _yPos + _height)
                {
                    return true;
                }
            }
            return false;
        }