Disappearing layers

Hi, Sorry a beginner question here,

How would I make a layer disappear as the player dropped down from it? I am having the player go down layer by layer by walking off, how might I go about having the previous layer disappear as the player leaves it?

Thanks

Hi voltageShift,

Are you talking about sprite ordering layers or the layers used for the collisions and lighting? A screen shot may help to understand what you are trying to do too.

Anyway there is definitely a way to write a script which will find all the objects of a specific layer (whichever type of layer you are referring to) and activate / deactivate them at will.
I may be able to give you a bit of code when you answer the first question.

If you are referring to the collisions / lighting layers, then you can also use different cameras or change the camera culling mask dynamically.