Version: 2017.3

PluginImporter

class in UnityEditor

/

다음으로부터 상속:AssetImporter

매뉴얼로 전환

설명

Represents plugin importer.

변수

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.

생성자

PluginImporterConstructor.

Public 함수

ClearSettingsClear all plugin settings and set the compatability with Any Platform to true.
GetCompatibleWithAnyPlatformIs plugin comptabile 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.
SetCompatibleWithAnyPlatformSet compatiblity with any platform.
SetCompatibleWithEditorSet compatiblity with any editor.
SetCompatibleWithPlatformSet compatiblity with specified platform.
SetEditorDataSet 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.
SetPlatformDataSet 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)
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.
GetInstanceIDReturns the instance id of the object.
ToStringReturns the name of the GameObject.

정적 함수

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.
DontDestroyOnLoadMakes the object target not be destroyed automatically when loading a new scene.
FindObjectOfTypeReturns the first active loaded object of Type type.
FindObjectsOfTypeReturns a list of all active 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.