FileUtilities.FindFilesInAssets(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locates the files that match the specified name within the Assets folder structure.
public:
static cli::array <System::IO::FileInfo ^> ^ FindFilesInAssets(System::String ^ fileName);
public static System.IO.FileInfo[] FindFilesInAssets (string fileName);
static member FindFilesInAssets : string -> System.IO.FileInfo[]
Public Shared Function FindFilesInAssets (fileName As String) As FileInfo()
Parameters
- fileName
- String
The name of the file to locate (ex: "TestFile.asmdef")
Returns
FileInfo[]
Array of FileInfo objects representing the located file(s).