Bounds2D.isVerticalOverlap C# (CSharp) Method

isVerticalOverlap() public method

public isVerticalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
return bool
    public bool isVerticalOverlap(Bounds2D other)
    {
        return !(y > other.y + other.height || other.y > y + height);
    }