Search Unity

Locking / Hiding Hierarchy Elements in Script

Discussion in 'Editor & General Support' started by Moritz5thPlanet, Jul 24, 2020.

  1. Moritz5thPlanet

    Moritz5thPlanet

    Joined:
    Feb 5, 2019
    Posts:
    73
    Simple question - where do I need to look if I want to set these (see screenshots) two states for hierarchy objects at runtime (from a script, both from the application running in the editor in play mode, as well as while just editing.

    upload_2020-7-24_12-32-44.png upload_2020-7-24_12-33-57.png