CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
Path | ( | [NotNull] String | fullOrRelativePath | ) |
Creates an asset path from either an absolute or relative path.
When passing an absolute path, it is required that the absolute path starts with the project's root folder. This safeguards against accidentally using an absolute path from a different project.
A path can also point to other locations in the project root folder where assets may be stored. The allowed subfolders (case insensitive) are:
Example input path:
Results in:
fullOrRelativePath | Relative or absolute path to an asset file or folder. |
Definition at line 223 of file Asset.Path.cs.