Class EditorAssetManager
Methods
static Object InstanceIDToObject(int instanceID)
public static Object InstanceIDToObject(int instanceID)
static string AssetsPathToFullPath(string relativeAssetsPath, [bool normalized = true])
public static string AssetsPathToFullPath(string relativeAssetsPath, [bool normalized = true])
static string ProjectPathToFullPath(string relativeProjectPath, [bool normalized = true])
public static string ProjectPathToFullPath(string relativeProjectPath, [bool normalized = true])
static string FullPathToProjectPath(string fullPath, [bool normalized = true])
public static string FullPathToProjectPath(string fullPath, [bool normalized = true])
static bool OpenAsset(string relativeProjectPath)
public static bool OpenAsset(string relativeProjectPath)
static T CreateAsset<T>(string relativeProjectDirectory, string name, [bool refresh = true])
public static T CreateAsset<T>(string relativeProjectDirectory, string name, [bool refresh = true])
static T CreateAsset<T>(string relativeProjectPath, [bool refresh = true])
public static T CreateAsset<T>(string relativeProjectPath, [bool refresh = true])
static void CreateAsset(Object instance, string relativeProjectDirectory, string name, [bool refresh = true])
public static void CreateAsset(Object instance, string relativeProjectDirectory, string name, [bool refresh = true])
static void CreateAsset(Object instance, string relativeProjectPath, [bool refresh = true])
public static void CreateAsset(Object instance, string relativeProjectPath, [bool refresh = true])
static void CreateDirectory(string relativeProjectDirectory, [bool refresh = true])
public static void CreateDirectory(string relativeProjectDirectory, [bool refresh = true])
static T LoadAsset<T>(string relativeProjectPath)
public static T LoadAsset<T>(string relativeProjectPath)
static T LoadAssetByGUID<T>(string guid)
public static T LoadAssetByGUID<T>(string guid)
static Texture LoadTexture(string relativeProjectPath)
public static Texture LoadTexture(string relativeProjectPath)
static Material LoadMaterial(string relativeProjectPath)
public static Material LoadMaterial(string relativeProjectPath)
static GameObject LoadPrefab(string relativeProjectPath)
public static GameObject LoadPrefab(string relativeProjectPath)
static AudioClip LoadAudioClip(string relativeProjectPath)
public static AudioClip LoadAudioClip(string relativeProjectPath)
static TextAsset LoadTextAsset(string relativeProjectPath)
public static TextAsset LoadTextAsset(string relativeProjectPath)
static VideoClip LoadVideoClip(string relativeProjectPath)
public static VideoClip LoadVideoClip(string relativeProjectPath)
static AudioMixer LoadAudioMixer(string relativeProjectPath)
public static AudioMixer LoadAudioMixer(string relativeProjectPath)
static ComputeShader LoadComputeShader(string relativeProjectPath)
public static ComputeShader LoadComputeShader(string relativeProjectPath)
static AnimationClip LoadAnimationClip(string relativeProjectPath)
public static AnimationClip LoadAnimationClip(string relativeProjectPath)
static GameObject ClonePrefab(GameObject prefab, [bool linkToPrefabAsset = false])
public static GameObject ClonePrefab(GameObject prefab, [bool linkToPrefabAsset = false])
static GameObject LoadPrefabAndClone(string relativeProjectPath, [bool linkToPrefabAsset = false])
public static GameObject LoadPrefabAndClone(string relativeProjectPath, [bool linkToPrefabAsset = false])
static void PingAsset(string relativeProjectPath)
public static void PingAsset(string relativeProjectPath)
static bool DeleteAsset(string relativeProjectPath, [bool refresh = true])
public static bool DeleteAsset(string relativeProjectPath, [bool refresh = true])
static bool Exists(string relativeProjectPath)
public static bool Exists(string relativeProjectPath)
static bool ExistsDirectory(string relativeProjectPath)
public static bool ExistsDirectory(string relativeProjectPath)
static string GetAssetPath(Object assetObject)
public static string GetAssetPath(Object assetObject)
static string GetAssetGUID(Object assetObject)
public static string GetAssetGUID(Object assetObject)
static string GetAssetDirectory(Object assetObject)
public static string GetAssetDirectory(Object assetObject)
static IEnumerable<string> GetAssetPathsAtPath<T>(string relativeProjectPath)
public static IEnumerable<string> GetAssetPathsAtPath<T>(string relativeProjectPath)
static void ImportAsset(string relativeProjectPath)
public static void ImportAsset(string relativeProjectPath)
static void ImportAssetAsync(string relativeProjectPath)
public static void ImportAssetAsync(string relativeProjectPath)
static void Refresh()
public static void Refresh()
static void RefreshAsync()
public static void RefreshAsync()
static string GUIDToAssetPath(string guid)
public static string GUIDToAssetPath(string guid)
static string AssetPathToGUID(string relativeProjectPath)
public static string AssetPathToGUID(string relativeProjectPath)
static IEnumerable<T> LoadAllAssetsAtPath<T>(string relativeProjectPath)
public static IEnumerable<T> LoadAllAssetsAtPath<T>(string relativeProjectPath)
static IEnumerable<TextAsset> LoadAllTextAssetAtPath(string relativeProjectPath)
public static IEnumerable<TextAsset> LoadAllTextAssetAtPath(string relativeProjectPath)
static IEnumerable<GameObject> LoadAllGameObjectAtPath(string relativeProjectPath)
public static IEnumerable<GameObject> LoadAllGameObjectAtPath(string relativeProjectPath)
static IEnumerable<string> GetFiles(string relativeProjectPath, [bool includeSubdirectory = true])
public static IEnumerable<string> GetFiles(string relativeProjectPath, [bool includeSubdirectory = true])
static IEnumerable<string> GetFiles(string relativeProjectPath, string extension, [bool includeSubdirectory = true])
public static IEnumerable<string> GetFiles(string relativeProjectPath, string extension, [bool includeSubdirectory = true])
static IEnumerable<string> GetScenePathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetScenePathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetPrefabPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetPrefabPathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetTexturePathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetTexturePathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetMaterialPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetMaterialPathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetTextAssetPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetTextAssetPathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetAudioClipPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetAudioClipPathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetVideoClipPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetVideoClipPathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetAnimationClipPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetAnimationClipPathsAtPath(string relativeProjectPath)
static IEnumerable<string> GetComputeShaderPathsAtPath(string relativeProjectPath)
public static IEnumerable<string> GetComputeShaderPathsAtPath(string relativeProjectPath)