Shader importer lets you modify shader import settings from Editor scripts.
preprocessorOverride | The preprocessor that Unity uses to compile this shader. |
GetDefaultTexture | Gets the default texture assigned to the shader importer for the shader property with given name. |
GetNonModifiableTexture | Gets the non-modifiable texture assigned to the shader importer for the shader property with given name. |
GetShader | Gets the reference to the shader imported by this importer. |
SetDefaultTextures | Sets the default textures for each texture material property. |
SetNonModifiableTextures | Sets the non-modifiable textures for each texture material property. |
assetBundleName | Get or set the AssetBundle name. |
assetBundleVariant | Получите или установите любые пользовательские данные. |
assetPath | Имя пути ассета для этого импортера. (Read Only) |
importSettingsMissing | The value is true when no meta file is provided with the imported asset. |
userData | Получите или установите любые пользовательские данные. |
AddRemap | Map a sub-asset from an imported asset (such as an FBX file) to an external Asset of the same type. |
GetExternalObjectMap | Gets a copy of the external object map used by the AssetImporter. |
RemoveRemap | Removes an item from the map of external objects. |
SaveAndReimport | Save asset importer settings if asset importer is dirty. |
SetAssetBundleNameAndVariant | Получите или установите любые пользовательские данные. |
SupportsRemappedAssetType | Checks if the AssetImporter supports remapping the given asset type. |
GetAtPath | Восстанавливает импортер ассетов для ассета в path. |