GuidToIdTargetCollectionComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct GuidToIdTargetCollectionComponent : IComponent

This is a component used to translate entity instaces guid to an actual entity id.

Implements: IComponent

⭐ Constructors

public GuidToIdTargetCollectionComponent()

⭐ Properties

Collection

public readonly ImmutableArray<T> Collection;

Guid of the target entity.

Returns
ImmutableArray<T>

⭐ Methods

TryFindGuid(string)

public T? TryFindGuid(string name)

Parameters
name string

Returns
T?