CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ Equals() [1/3]

Boolean Equals ( Path other)

Tests another path for equality.

They are equal if their internal relative path strings are equal.

Parameters
otherA path instance or null.
Returns
True if this path equals the other path. False otherwise.

Definition at line 284 of file Asset.Path.cs.

285 {
286 if (ReferenceEquals(other, null))
287 return false;
288 if (ReferenceEquals(this, other))
289 return true;
290
291 return m_RelativePath.Equals(other.m_RelativePath);
292 }

Referenced by Asset.Path.Equals(), and Asset.Path.operator==().

+ Here is the caller graph for this function: