PrefabReference

Namespace: Murder.Prefabs
Assembly: Murder.dll

public sealed struct PrefabReference

Represents an entity placed on the map.

⭐ Constructors

public PrefabReference(Guid guid)

Parameters
guid Guid

⭐ Properties

CanFetch

public bool CanFetch { get; }

Returns
bool

Guid

public readonly Guid Guid;

Reference to a PrefabAsset.

Returns
Guid

⭐ Methods

Fetch()

public PrefabAsset Fetch()

Returns
PrefabAsset