I have a few vertices, how can i determine if a player is inside the vertices area? The problem is vertices just exist in code, so i can’t use collider, and the vertices are Vector3 can’t use Rect.contains.
I appreciate your attention.
public Vector3 verticeA;
public Vector3 verticeB;
public Vector3 verticeC;
public Vector3 verticeD;