Layer.removeComponent

Removes a component from the layer.

class Layer
final
void
removeComponent
(
string name
,
bool cleanOldComponent = true
)

Parameters

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