Screen.removeComponent

Removes a component from a layer.

class Screen
final
void
removeComponent
(
size_t index
,
string name
,
bool cleanOldComponent = true
)

Parameters

index size_t

The index of the layer to remove the component from.

name string

The name of the component to remove.

cleanOldComponent bool

Boolean determining whether the component's memory should be cleaned or not. Only used if "NOVELATE_MANUALMEMORY" is enabled.

Meta