Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Returns true if two PolygonId objects refer to the same NavMesh node.
Read time 1 minuteLast updated 12 days ago

Definition

Equals(PolygonId)

Returns
true
if two PolygonId objects refer to the same NavMesh node.
Warning
Deprecated. The experimental PolygonId struct has been deprecated. Use NavNode instead.
public bool Equals(PolygonId rhs)

Parameters

Returns

Type

Description

bool

Equals(Object)

Returns
true
if two PolygonId objects refer to the same NavMesh node.
Warning
Deprecated. The experimental PolygonId struct has been deprecated. Use NavNode instead.
public override bool Equals(object obj)

Parameters

Returns

Type

Description

bool