ParentChanged

Event raised when an entity changes its parent.

This event is triggered when an entity's parent is updated. If the entity moves from one scene to another, the event will be raised in the new scene. In such cases, the previousParent will be null, indicating the entity has no parent in the previous scene or the parent is no longer valid.

Properties

Link copied to clipboard

The entity whose parent has changed.

Link copied to clipboard

The previous parent of the entity. This will be null if the entity has moved to a different scene or no valid previous parent exists.

Functions

Link copied to clipboard
open override fun toString(): String