Table of Contents

Class DuplicateGadgetException

Namespace
Nautilus.Assets.Gadgets
Assembly
Nautilus.dll
The exception that is thrown when a Gadget is attempted to be added when an existing one of the same type already exists.
public class DuplicateGadgetException : Exception, ISerializable, _Exception
Inheritance
DuplicateGadgetException
Implements
Inherited Members
Extension Methods

Constructors

DuplicateGadgetException(string, Gadget)

Initializes a new instance of the DuplicateGadgetException class with default properties.
public DuplicateGadgetException(string classId, Gadget duplicateGadget)

Parameters

classId string
ClassID of the Prefab, otherwise should be labeled "Uninitialized". For debugging purposes.
duplicateGadget Gadget
The Gadget that cannot be added.