Scripting API

Scripting API

SortingLayer

Record in Abyss.Core, from Abyss.Core.

One sorting layer of a game's, as settings/sorting.json holds it.

public record SortingLayer

Constructors

SortingLayer

public SortingLayer(uint Id, string Name)

One sorting layer of a game's, as settings/sorting.json holds it.

Parameters

  • Id: Its identity, which a sprite keeps and which stays with it as it is renamed and moved: SortingLayers.Default for Default.
  • Name: What it is called, which a game's code finds it by.

Properties

Id

public uint Id { get; init; }

Its identity, which a sprite keeps and which stays with it as it is renamed and moved: SortingLayers.Default for Default.

Name

public string Name { get; init; }

What it is called, which a game's code finds it by.