Table of Contents

Class PrefabComponent

Namespace
Axolotl2D.Prefabs
Assembly
Axolotl2D.dll

A stable component ID and its component-owned JSON data.

public sealed record PrefabComponent : IEquatable<PrefabComponent>
Inheritance
PrefabComponent
Implements
Inherited Members

Constructors

PrefabComponent(string, bool, JsonElement)

A stable component ID and its component-owned JSON data.

public PrefabComponent(string Type, bool Enabled, JsonElement Data)

Parameters

Type string
Enabled bool
Data JsonElement

Properties

Data

public JsonElement Data { get; init; }

Property Value

JsonElement

Enabled

public bool Enabled { get; init; }

Property Value

bool

Type

public string Type { get; init; }

Property Value

string