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

◆ operator==() [1/3]

static Boolean operator== ( Path path1,
Path path2 )
static

Tests two path instances for equality.

Parameters
path1A Path.
path2Another path.
Returns
True if both paths point to the same location. False otherwise.

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

324 {
325 if (ReferenceEquals(path1, path2))
326 return true;
327 if (ReferenceEquals(path1, null))
328 return false;
329 if (ReferenceEquals(path2, null))
330 return false;
331
332 return path1.Equals(path2);
333 }

References Asset.Path.Equals().

+ Here is the call graph for this function: