Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Attribute · Ara

ComponentAttribute

Declares a blittable component stored in engine ECS columns. Apply to a partial struct; the source generator registers it in the Schema DB (name, fields, units, ranges, docs), so it appears in reflection.json and agent tools.

public sealed class ComponentAttribute : Attribute

Constructors

ComponentAttribute

public ComponentAttribute(string name = null);

Declares a blittable component stored in engine ECS columns. Apply to a partial struct; the source generator registers it in the Schema DB (name, fields, units, ranges, docs), so it appears in reflection.json and agent tools.

Properties

Name

public string Name { get; }

Schema type name (PascalCase); defaults to the struct name.