Scripting API

Scripting API

UiNamed

Record in Abyss.Core, from Abyss.Core.

What a selector can name an element by, as bevy_flair styles it.

public record UiNamed

Constructors

UiNamed

public UiNamed(string? Kind, string? Name, IReadOnlyList<string> Classes)

What a selector can name an element by, as bevy_flair styles it.

Parameters

  • Kind: Its kind, button or text; null for an element of no kind bevy_flair names.
  • Name: Its name, which # selects; null where it has none.
  • Classes: Its classes, in the order it has them.

Properties

Kind

public string? Kind { get; init; }

Its kind, button or text; null for an element of no kind bevy_flair names.

Name

public string? Name { get; init; }

Its name, which # selects; null where it has none.

Classes

public IReadOnlyList<string> Classes { get; init; }

Its classes, in the order it has them.