PluginImporter

class in UnityEditor

/

Hereda de:AssetImporter

Cambiar al Manual

Descripción

Representa el importador de plugins.

Variables

DefineConstraintsAllows you to specify a list of #define directives which controls whether your plug-in should be included.
isNativePluginEs el plugin nativo o manejado? Tenga en cuenta: Las librerías con soporte CLR se tratan como plugins nativos, ya que Unity no puede cargar esas librerías. Usted todavía puede accederlas mediante P/Invoke.
isPreloadedIs a native plugin loaded during startup or on demand?

Constructores

PluginImporterConstructor.

Funciones Públicas

ClearSettingsClear all plugin settings and set the compatability with Any Platform to true.
GetCompatibleWithAnyPlatformChecks whether a plugin is flagged as being compatible with Any Platform.
GetCompatibleWithEditorEs el plugin compatible con el editor.
GetCompatibleWithPlatformEs el plugin compatible con la plataforma especificada.
GetEditorDataRetorna datos específicos del editor para la key especificada.
GetExcludeEditorFromAnyPlatformIs Editor excluded when Any Platform is set to true.
GetExcludeFromAnyPlatformIs platform excluded when Any Platform set to true.
GetIsOverridableIdentifies whether or not this plugin will be overridden if a plugin of the same name is placed in your project folder.
GetPlatformDataObtiene datos específicos de plataforma.
SetCompatibleWithAnyPlatformSets compatibility with Any Platform.
SetCompatibleWithEditorSets compatibility with any editor.
SetCompatibleWithPlatformSets compatibility with the specified platform.
SetEditorDataSets editor specific data.
SetExcludeEditorFromAnyPlatformExclude Editor from compatible platforms when Any Platform is set to true.
SetExcludeFromAnyPlatformExclude platform from compatible platforms when Any Platform is set to true.
SetIncludeInBuildDelegateSetting the delegate function to be called by ShouldIncludeInBuild.
SetPlatformDataSets platform specific data.
ShouldIncludeInBuildIdentifies whether or not this plugin should be included in the current build target.

Funciones Estáticas

GetAllImportersDevuelve todos los importadores plugin para todas las plataformas.
GetImportersRetorna todos los importadores plugin para la plataforma especificada.

Delegados

IncludeInBuildDelegateDelegate to be used with SetIncludeInBuildDelegate.

Miembros heredados

Variables

assetBundleNameGet or set the AssetBundle name.
assetBundleVariantGet or set the AssetBundle variant.
assetPathThe path name of the asset for this importer. (Read Only)
importSettingsMissingThe value is true when no meta file is provided with the imported asset.
userDataGet or set any user data.
hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameEl nombre del objeto.

Funciones Públicas

AddRemapMap a sub-asset from an imported asset (such as an FBX file) to an external Asset of the same type.
GetExternalObjectMapGets a copy of the external object map used by the AssetImporter.
RemoveRemapRemoves an item from the map of external objects.
SaveAndReimportSave asset importer settings if asset importer is dirty.
SetAssetBundleNameAndVariantSet the AssetBundle name and variant.
SupportsRemappedAssetTypeChecks if the AssetImporter supports remapping the given asset type.
GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the object.

Funciones Estáticas

GetAtPathRetrieves the asset importer for the asset at path.
DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.