文档

Unity Engine

Unity Engine

FileIdentifierType

Options for the type of file that a reference points to.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum FileIdentifierType

Remarks

Used by LoadableObjectId to distinguish between different types of asset references.

Fields

Value

Description

NonAssetReference to a non-asset file or built asset. The GUID may be a constant GUID or null. The path can point anywhere except in registered asset folders.
PrimaryArtifactReference to a primary artifact in the Library folder. The GUID is valid and the resolved path is a primary artifact path.
SourceAssetReference to a source asset in the Assets folder. The GUID is valid and the resolved path is in a registered asset folder.