| DiskUtilitiesTryConvertToPossibleAssetPath Method |
Attempts to take a full path and find a folder with the name of the const NameOfAssetsFolder (Currently "Assets/").
Note: this will just look for the first instance of the name, if you nest your actual assets folder inside of another folder with the same name, I have no pity for you.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static bool TryConvertToPossibleAssetPath(
string pathToConvert,
out string convertedPath
)
Parameters
- pathToConvert
- Type: SystemString
The input path which may or may not have an assets folder in it - convertedPath
- Type: SystemString
Path starting with the first character of the assets folder (Currently "A")
Return Value
Type:
BooleanTrue if a folder named Assets can be found, false otherwise
See Also