Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feature Request Need easy means of toggling transparent layers in Unity. Unreal has toggle button

Discussion in 'Editor & General Support' started by IllTemperedTunas, May 4, 2023.

  1. IllTemperedTunas

    IllTemperedTunas

    Joined:
    Aug 31, 2012
    Posts:
    782
    It's frustrating toggling transparency layers and other intrusive layers on/off in Unity. I've poked around but haven't found any documentation how to do this in code, so i can't create custom shortcuts or key bindings.

    For reference, in unreal you can toggle transparent selection here, it also has a convenient keybinding:


    Does anyone know the C# code that would allow me to enable/ disable various layer selectin/ visibility?
    upload_2023-5-3_22-49-41.png
    For reference, this is what it looks like in Unity