Skip to content

ComponentCount

namespace Griff.Runtime;
public sealed class ComponentCount

How many of each kind of component are on a scene’s active entities: one row of SceneCounts.

public int Count { get; init; }
public string Label { get; }

The kind of component and how many, e.g. “Sprite: 5,000”.

public Type Type { get; init; }
public void Deconstruct(out Type Type, out int Count)
public override bool Equals(object? obj)
public bool Equals(ComponentCount? other)
public override int GetHashCode()
public override string ToString()