GameAssetIdAttribute

Namespace: Murder.Attributes
Assembly: Murder.dll

public class GameAssetIdAttribute : Attribute

This is an attribute used for a field guid that point to a game asset id.

Implements: Attribute

⭐ Constructors

public GameAssetIdAttribute(Type type, bool allowInheritance)

Creates a new GameAssetIdAttribute.

Parameters
type Type

allowInheritance bool

⭐ Properties

AllowInheritance

public readonly bool AllowInheritance;

Whether it should look for all assets that inherit from this asset.

Returns
bool

AssetType

public readonly Type AssetType;

The type of the game asset.

Returns
Type

TypeId

public virtual Object TypeId { get; }

Returns
Object