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

MouseDown() 공개 메소드

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