기술 자료

Unity Engine

Unity Engine

Overlaps(RectInt)

RectInts overlap if each RectInt RectInt.Contains a shared point.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool Overlaps(RectInt other)

Parameters

other

Other rectangle to test overlapping with.

Returns

Type

Description

boolTrue if the other rectangle overlaps this one.