Search Unity

Lock scene

Discussion in 'Immediate Mode GUI (IMGUI)' started by MrMatthias, Feb 15, 2019.

  1. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    191
    Is it possible to lock a scene within unity, or is it only possible on file system level?
    the hideflags don't seem to do much.
     
  2. BinaryCats

    BinaryCats

    Joined:
    Feb 8, 2016
    Posts:
    317
  3. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    191
    mhm i would need to save the original hideflags to restore them on unlocking. I think i'll just lock the file and show a warning in the SceneView that someone requested a lock.