Stop fighting with Sorting Orders in the Inspector.
Layer Shifter is a professional workflow tool designed to streamline 2D and 2.5D Unity projects. It allows you to visualize and manipulate the "Order in Layer", "Sorting Layer", and "GameObject Layer" of entire hierarchies at once - working on both Scene objects and directly inside Prefabs.
🚀 CORE FEATURES 📊 Visual Results Dashboard
- Hierarchy Visualization: Sorting Groups are highlighted in Gold and children are indented for clear structure.
- Scrubbable Inputs: Click and drag to visually adjust Sorting Orders in real-time. Hold 'Shift' to snap to increments of 5.
- Sort & Search: View all renderers in a sortable list. Identify Z-fighting instantly.
🛠️ Smart Bulk Operations
- Target Modes: Switch between "Roots & Groups" (treats characters as single units) or "All Renderers" (drills down for internal fixing).
- Shift: Add/Subtract sort orders while preserving relative depth.
- Distribute: Automatically assign incremental sort orders to fix Z-fighting instantly.
- Reassign: Bulk change Sorting Layers, GameObject Layers (Physics), and Masking Interactions.
⚡ Supported Components
- Sorting Group (Native Support)
- Sprite Renderer
- TextMeshPro (UI & World)
- Particle System Renderer
- Sprite Mask
- Line & Trail Renderers
🎮 RUNTIME & GAMEPLAY LOGIC
- Dynamic Triggers: Use the LayerShifterTrigger component to create bridges, tunnels, and depth illusions without writing code.
- Directional Logic: Restrict triggers to only activate when entering from specific directions (e.g., Up, Down, Left, Right).
- Hierarchy Resilient: Triggers automatically find the script on parent objects (e.g., detecting "Player" even if the collider is on "Feet").
- UnityEvents: Hook up Audio, Particles, or custom logic to OnEnter and OnExit events directly in the Inspector.
- Debug Ready: Includes on-screen Debug GUIs for both Triggers and Shifters to test layer logic in Play Mode.