Component:GenericUserspaceDialogSpawner

From Resonite Wiki
Component image 
File:GenericUserspaceDialogSpawner`1Component.png
Generic Userspace Dialog Spawner`1 component as seen in the Scene Inspector

The GenericUserspaceDialogSpawner only works in dash space. The Generic type it takes has to be a component type. This component activates when on the slot as a button. When activated, this component attaches a new instance of T to the world, triggers Initializer with the new Component as an argument, and then positions it in front of the user in dash space. It needs a Component:ModalOverlayManager above it in order to work.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Initializer delegate of identity Action`1<T> An action that takes a Component type.

See Also