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 <code>Initializer</code> with the new Component as an argument, and then positions it in front of the user in dash space.
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 <code>Initializer</code> 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.
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.