enum MAGES::HardAssetReferenceAttribute::Type

Overview

The type of the hard reference. Determines how the prefab is loaded. More…

enum Type
{
    Resource,
    Asset,
};

Detailed Documentation

The type of the hard reference. Determines how the prefab is loaded.

Enum Values

Resource

The reference is for an asset that is used at runtime.

Uses Resources.Load to check validity of path.

Asset

The reference is for an asset that is used in the editor. Must be a static field.

Uses AssetDatabase.Load to check validity of path.