Class Gadget
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
Methods
Build()
Where the data actually gets registered to the game.
This is called after prefab register and PostRegisters in Register().
This is called after prefab register and PostRegisters in Register().
protected abstract void Build()