Class AssetImporter
Inheritance
AssetImporter
Assembly: UnityEditor.dll
Syntax
public class AssetImporter : Object
Properties
assetBundleName
Declaration
public string assetBundleName { get; set; }
Property Value
assetBundleVariant
Declaration
public string assetBundleVariant { get; set; }
Property Value
assetPath
Declaration
public string assetPath { get; }
Property Value
assetTimeStamp
Declaration
public ulong assetTimeStamp { get; }
Property Value
importSettingsMissing
Declaration
public bool importSettingsMissing { get; }
Property Value
userData
Declaration
public string userData { get; set; }
Property Value
Methods
AddRemap(AssetImporter.SourceAssetIdentifier, Object)
Declaration
public void AddRemap(AssetImporter.SourceAssetIdentifier identifier, Object externalObject)
Parameters
GetAtPath(String)
Declaration
public static AssetImporter GetAtPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
|
Improve this Doc
View Source
GetExternalObjectMap()
Declaration
public Dictionary<AssetImporter.SourceAssetIdentifier, Object> GetExternalObjectMap()
Returns
RemoveRemap(AssetImporter.SourceAssetIdentifier)
Declaration
public bool RemoveRemap(AssetImporter.SourceAssetIdentifier identifier)
Parameters
Returns
|
Improve this Doc
View Source
SaveAndReimport()
Declaration
public void SaveAndReimport()
SetAssetBundleNameAndVariant(String, String)
Declaration
public void SetAssetBundleNameAndVariant(string assetBundleName, string assetBundleVariant)
Parameters
Type |
Name |
Description |
String |
assetBundleName |
|
String |
assetBundleVariant |
|
Extension Methods