Version: 2020.3
언어: 한국어

PluginImporter

class in UnityEditor

/

다음으로부터 상속:AssetImporter

매뉴얼로 전환

설명

Represents plugin importer.

변수

DefineConstraintsAllows you to specify a list of #define directives which controls whether your plug-in should be included.
isNativePluginIs plugin native or managed? Note: C++ libraries with CLR support are treated as native plugins, because Unity cannot load such libraries. You can still access them via P/Invoke.
isPreloadedIs a native plugin loaded during startup or on demand?

생성자

PluginImporterConstructor.

Public 함수

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.
GetCompatibleWithEditorIs plugin compatible with editor.
GetCompatibleWithPlatformIs plugin compatible with specified platform.
GetEditorDataReturns editor specific data for specified key.
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.
GetPlatformDataGet platform specific data.
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.

정적 함수

GetAllImportersReturns all plugin importers for all platforms.
GetImportersReturns all plugin importers for specfied platform.

델리게이트

IncludeInBuildDelegateDelegate to be used with SetIncludeInBuildDelegate.

상속된 멤버

변수

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?
nameThe name of the object.

Public 함수

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.
GetInstanceIDReturns the instance id of the object.
ToStringReturns the name of the object.

정적 함수

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.
FindObjectOfTypeReturns the first active loaded object of Type type.
FindObjectsOfTypeGets a list of all loaded objects of Type type.
InstantiateClones the object original and returns the clone.

연산자

boolDoes the object exist?
operator !=Compares if two objects refer to a different object.
operator ==Compares two object references to see if they refer to the same object.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961