Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ISelectable.Overlaps

Declaration

public bool Overlaps(Rect rectangle);

Parameters

rectangle Rectangle to check.

Returns

bool True if it overlaps. False otherwise.

Description

Check if selection overlaps rectangle.