LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AssetImporter.SourceAssetIdentifier Constructor

public AssetImporter.SourceAssetIdentifier(Object asset);
public AssetImporter.SourceAssetIdentifier(Type type, string name);

Parameters

assetThe the sub-asset embedded in the imported Asset.
typeThe type of the sub-asset embedded in the imported Asset.
nameThe name of the sub-asset embedded in the imported Asset.

Description

Constructs a SourceAssetIdentifier.