Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closepath | The physical path of the file. |
sourceTree | The source tree pah is relative to. |
bool Returns true if the project contains the file, false otherwise.
Checks if the project contains a file with the given physical path.
The version without source tree argument matches paths of all known files. Use this overload with care.