Table of Contents

TObjectManager.DeferDestruction Property

Gets or sets whether removed entities are held in memory until the manager is destroyed, rather than being freed immediately.

Remarks

When True, entities deleted via Remove are not freed immediately. Instead they are held in an internal list and destroyed when the manager itself is destroyed. This is useful when other code may still hold references to removed entities, such as data-aware components or lists bound to the UI. Defaults to False.

Syntax

Unit: Aurelius.Engine.ObjectManager

property TObjectManager.DeferDestruction: Boolean

See also