CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
Path | ( | [NotNull] String | folderPath, |
[NotNull] String | fileName, | ||
[NotNull] String | extension = DefaultExtension ) |
Creates an asset path by combining folder path, file name and extension.
The default extension is ".asset". Note that AssetImporters rely on file extensions.
Example parameters: "\Assets\Some/Sub\Dir", "New File", "MyExt"
Resulting path: "Assets/Some/Sub/Dir/New File.myext"
folderPath | Absolute or relative path to a folder. Leading/trailing path separators are trimmed. |
fileName | Name of the file without extension. Must not contain path separators. |
extension | Extension of the file (default: 'asset'). Leading dots will be trimmed. Extension will be lowercase. |
Definition at line 251 of file Asset.Path.cs.