Time for action - creating and managing layers
Until now, we have placed all our objects onto the layer created by default upon starting any new level, which is known as the main layer. We will now create some custom layers:
Open
Example_5
inside the Editor.exe application.Create a new Layer by clicking on the add layer icon, as seen in the following screenshot:
A New Layer dialog box will appear.
In the New Layer section, enter the following parameters:
Name = Spawnpoint
Visible = True
External = True
Frozen = False
Export To Game = True
Select the SpawnPoint entity and Road created earlier, and switch to the Objects tab within the RollupBar, as seen in the following screenshot:
In the entity properties, you will see a button for layers as seen in the following screenshot, which at present is set as Main, as both the objects exist on the main layer:
Click on the Layers button, which will reveal a list of the other layers available to place objects onto.
Click again on the SpawnPoint layer, which will...