LayerProvidedByContainer
Introduction
The LayerProvidedByContainer property gives you access to the layer that the containing Screen or Entity has passed to this through Glue or through the AddToManagers method call. For more information on working with Layers in code, see the Layer page.
Usage
You can access the Layer simply by using the LayerProvidedByContainer property:
The LayerProvidedByContainer can be used to add additional objects to the same Layer. The following code shows how to create a new Sprite using an existing entity's LayerProvidedByContainer:
The following code shows how to create new entities using an existing entity's LayerProvidedByContainer:
Last updated