Class AssemblyResourceProvider
Inheritance
AssemblyResourceProvider
Syntax
public sealed class AssemblyResourceProvider : IResourceProvider
Constructors
AssemblyResourceProvider(Assembly, String, String)
Declaration
public AssemblyResourceProvider(Assembly assembly, string namespace, string root)
Parameters
Fields
DirectorySeparatorChar
Declaration
public const char DirectorySeparatorChar = '.'
Field Value
Properties
assembly
Declaration
public Assembly assembly { get; }
Property Value
root
Declaration
public string root { get; }
Property Value
Methods
DebugPath(String)
Declaration
public string DebugPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Implements
DirectoryExists(String)
Declaration
public bool DirectoryExists(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Implements
FileExists(String)
Declaration
public bool FileExists(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Implements
GetAllFiles()
Declaration
public IEnumerable<string> GetAllFiles()
Returns
Implements
GetDirectories(String)
Declaration
public IEnumerable<string> GetDirectories(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Implements
GetFiles(String)
Declaration
public IEnumerable<string> GetFiles(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Implements
LoadAsset<T>(String)
Declaration
public T LoadAsset<T>(string path)
where T : Object
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Type Parameters
Implements
LoadTexture(String, CreateTextureOptions)
Declaration
public Texture2D LoadTexture(string path, CreateTextureOptions options)
Parameters
Returns
Implements
Extension Methods