Version: 2019.4

AssetImporter

class in UnityEditor

/

継承:Object

マニュアルに切り替える

説明

特定のアセットの型から派生するアセットインポーターのベースとなるクラスです

変数

assetBundleNameアセットバンドルの名前の取得や設定ができます。
assetBundleVariantアセットバンドルバリアントの取得や設定ができます。
assetPathアセットのパス(読み取り専用)
importSettingsMissingThe value is true when no meta file is provided with the imported asset.
userDataユーザーが自由に設定/取得できる文字列

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.
SaveAndReimportアセットインポーターがダーティであれば、アセットインポーターの設定を保存します。
SetAssetBundleNameAndVariantアセットバンドル名とアセットバンドルバリアントを設定します。
SupportsRemappedAssetTypeChecks if the AssetImporter supports remapping the given asset type.

Static 関数

GetAtPathアセットのパスから AssetImporter を取得します

継承メンバー

変数

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名

Public 関数

GetInstanceIDオブジェクトのインスタンス ID を返します
ToStringReturns the name of the object.

Static 関数

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.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeタイプから見つけたすべてのアクティブのオブジェクト配列を返します
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。