Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

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.

Did you find this page useful? Please give it a rating: