기술 자료

Unity Engine

Download Unity

Unity Engine

OverlapPoint(Vector2)

Check if a collider overlaps a point in space.
읽는 시간 1분최근 업데이트: 7시간 전

Definition

public bool OverlapPoint(Vector2 point)

Parameters

point

A point in world space.

Returns

Type

Description

boolDoes
point
overlap the collider?

Remarks

This will always return false when used on an EdgeCollider2D.