- Home /
Editor SortingLayer masking?
I'm creating a 2D game with floors. Like a building.
Each floor is on a different SortingLayer.
Is there a way I can mask certain layers so I can work on specific floors in the Editor?
Comment
Answer by Aladine · Jun 02, 2014 at 08:30 PM
you can create different empty game objects and consider each one as a layer, then simply disable that object to make it invisible (there is a parameter to check/uncheck in the inspector right beside the object name) Remark : make sure to turn it back again when you go to play mode.
Your answer
![](https://koobas.hobune.stream/wayback/20220613150110im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to show part of the screen only for specified sorting layer? 0 Answers
Crop/Mask a Sprite on runtime 0 Answers
Editor's Camera Clipping Plane 12 Answers
2d top down Camera help 1 Answer