Class EditorResources
Inheritance
EditorResources
Assembly: UnityEditor.dll
Syntax
[ExcludeFromDocs]
public class EditorResources
Properties
brushesPath
Declaration
public static string brushesPath { get; }
Property Value
darkSkinIndex
Declaration
public static int darkSkinIndex { get; }
Property Value
darkSkinSourcePath
Declaration
public static string darkSkinSourcePath { get; }
Property Value
|
Improve this Doc
View Source
dataPath
Declaration
public static string dataPath { get; }
Property Value
editorDefaultResourcesPath
Declaration
public static string editorDefaultResourcesPath { get; }
Property Value
emptyFolderIconName
Declaration
public static string emptyFolderIconName { get; }
Property Value
folderIconName
Declaration
public static string folderIconName { get; }
Property Value
fontsPath
Declaration
public static string fontsPath { get; }
Property Value
generatedIconsPath
Declaration
public static string generatedIconsPath { get; }
Property Value
iconsPath
Declaration
public static string iconsPath { get; }
Property Value
libraryBundlePath
Declaration
public static string libraryBundlePath { get; }
Property Value
lightSkinSourcePath
Declaration
public static string lightSkinSourcePath { get; }
Property Value
normalSkinIndex
Declaration
public static int normalSkinIndex { get; }
Property Value
Methods
|
Improve this Doc
View Source
Exists(String)
Declaration
public static bool Exists(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
|
Improve this Doc
View Source
ExpandPath(String)
Declaration
public static string ExpandPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
GetAssetPath(Object)
Declaration
public static string GetAssetPath(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
GetFullPath(String)
Declaration
public static string GetFullPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
Load(String, Type)
Declaration
public static Object Load(string assetPath, Type type)
Parameters
Returns
|
Improve this Doc
View Source
Load<T>(String, Boolean)
Declaration
public static T Load<T>(string assetPath, bool isRequired = true)
where T : Object
Parameters
Returns
Type Parameters
Extension Methods