FileUtilities.FindFilesInAssets(String) Method

Definition

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

Array of FileInfo objects representing the located file(s).

Applies to