Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FileIdentifierType

Options for the type of file that a reference points to.
Read time 1 minuteLast updated 5 days ago

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.