Class EditorAssetResourceProvider
Inheritance
EditorAssetResourceProvider
Namespace: Ludiq
Syntax
public sealed class EditorAssetResourceProvider : IResourceProvider
Constructors
EditorAssetResourceProvider(String)
Declaration
public EditorAssetResourceProvider(string packageRoot)
Parameters
Type |
Name |
Description |
String |
packageRoot |
|
Properties
filesystemRoot
Declaration
public string filesystemRoot { get; }
Property Value
packageRoot
Declaration
public string packageRoot { 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 : UnityEngine.Object
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Type Parameters
Implements
LoadTexture(String, CreateTextureOptions)
Declaration
public Texture2D LoadTexture(string path, CreateTextureOptions options)
Parameters
Returns
Type |
Description |
Texture2D |
|
Implements
NormalizeFilesystemPath(String)
Declaration
public string NormalizeFilesystemPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
NormalizePackagePath(String)
Declaration
public string NormalizePackagePath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Extension Methods