I am working on a project that requires the level designer to switch between 2 views in the same scene. We have separated what should be seen on each view into layers. Right now to switch between views, the designer would have to toggle multiple layers via the “Layers” dropdown menu in the editor. We have some editor scripts to help out in level design, but I would love to implement something to help speed up this process of toggling layers one-by-one.
Does anyone know how I can toggle the layers visibility programmatically via the Editor Script?