Class EditorAssetResourceProvider
Inheritance
EditorAssetResourceProvider
Syntax
public sealed class EditorAssetResourceProvider : IResourceProvider
Constructors
EditorAssetResourceProvider(String)
Declaration
public EditorAssetResourceProvider(string root)
Parameters
Type |
Name |
Description |
String |
root |
|
Properties
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
NormalizePath(String)
Declaration
public string NormalizePath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Extension Methods