Interface IResourceProvider
Syntax
public interface IResourceProvider
Methods
DebugPath(String)
Declaration
string DebugPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
DirectoryExists(String)
Declaration
bool DirectoryExists(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
FileExists(String)
Declaration
bool FileExists(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
GetAllFiles()
Declaration
IEnumerable<string> GetAllFiles()
Returns
GetDirectories(String)
Declaration
IEnumerable<string> GetDirectories(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
GetFiles(String)
Declaration
IEnumerable<string> GetFiles(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
LoadAsset<T>(String)
Declaration
T LoadAsset<T>(string path)
where T : Object
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Type Parameters
LoadTexture(String, CreateTextureOptions)
Declaration
Texture2D LoadTexture(string path, CreateTextureOptions options)
Parameters
Returns
Extension Methods