ドキュメント

Unity Engine

Unity Engine

Overlap

Check if the specified AABB overlaps this AABB.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

Overlap(PhysicsAABB)

Check if the specified AABB overlaps this AABB.
public readonly bool Overlap(PhysicsAABB aabb)

Parameters

The AABB to check overlap with.

Returns

Type

Description

boolTrue if overlapped, false if not.

Overlap(Vector2)

Check if the specified point overlaps this AABB.
public readonly bool Overlap(Vector2 point)

Parameters

point

The point to check overlap with.

Returns

Type

Description

boolTrue if overlapped, false if not.