Table of Contents

Class Gadget

Namespace
Nautilus.Assets.Gadgets
Assembly
Nautilus.dll
Represents a class that handles registers to game code.
public abstract class Gadget
Inheritance
Gadget
Derived
Inherited Members
Extension Methods

Constructors

Gadget(ICustomPrefab)

Constructs a gadget instance.
public Gadget(ICustomPrefab prefab)

Parameters

prefab ICustomPrefab
The custom prefab to operate on.

Fields

prefab

The custom prefab to operate on
protected readonly ICustomPrefab prefab

Field Value

ICustomPrefab

Methods

Build()

Where the data actually gets registered to the game.
This is called after prefab register and PostRegisters in Register().
protected abstract void Build()