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

◆ Equals() [3/3]

override Boolean Equals ( System::Object obj)

Tests path for equality with an object.

If the object is a Path or String will use the respective Equals method for these types. In all other cases returns false.

Parameters
obj
Returns
True if the path equals the input string or Path. False otherwise or if input is neither string nor Path.

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

431 {
432 if (obj is Path path)
433 return Equals(path);
434 if (obj is String str)
435 return Equals(str);
436
437 return false;
438 }
Boolean Equals(Path other)
Tests another path for equality.

References Asset.Path.Equals().

+ Here is the call graph for this function: