Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Attribute · Ara

ResourceAttribute

Declares a world singleton (game rules, tuning). Systems take it as an in or ref parameter; behaviours and commands use Resource.

public sealed class ResourceAttribute : Attribute

Constructors

ResourceAttribute

public ResourceAttribute(string name = null);

Declares a world singleton (game rules, tuning). Systems take it as an in or ref parameter; behaviours and commands use Resource.

Properties

Name

public string Name { get; }

Schema type name; defaults to the struct name.