Interface IResourceProvider
Assembly: Unity.VisualScripting.Core.Editor.dll
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
GetPersonalPath(string, float)
Declaration
string GetPersonalPath(string path, float width)
Parameters
Returns
GetProfessionalPath(string, float)
Declaration
string GetProfessionalPath(string path, float width)
Parameters
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