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 : AttributeConstructors
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.