Procedural Dungeon ⏵ Dungeon Generator Base ⏵ Discard Room Instance
Discard Room Instance
Class: Dungeon Generator Base
Category: GenerationAlgorithm
Description
Tells explicitely you will not add the room instance to the dungeon.
Use this to benefit from the pooling system.
The room instance is automatically reset to null.
Node

C++
void DiscardRoomInstance(URoom*& RoomInstance)
Inputs
| Name | Type | Description |
|---|---|---|
| In | Exec | |
| Target | Dungeon Generator Base Object Reference | |
| Room Instance | Room Object Reference (by ref) |
Outputs
| Name | Type | Description |
|---|---|---|
| Out | Exec |