‎ ‎
On the Asset Store
Hats
Hats
  • Intro
  • Changelog
  • Workspaces
    • Workspaces
    • Switching workspaces
    • Workspace rules
      • Select Folder
      • Highlight Gizmos
      • Open Scenes
      • Scene Camera to Position
      • Load Layout
      • Lock/Hide Objects
      • Disable Menu Item
      • Lock Folders
  • Teams
    • Teams
    • Switching Teams
  • Building on Hats
    • Building Hats-based tools
Powered by GitBook
On this page
  • On workspace enabled
  • On workspace disabled
  1. Workspaces
  2. Workspace rules

Lock Folders

Last updated 6 months ago

Use this rule to prevent access to certain folders in the project.

On workspace enabled

The specified folders get disabled and greyed out in the Project view. You won't be able to select, move, rename them; or to drag/drop items onto them.

On workspace disabled

The disabled folders are enabled again.

You can specify an entire path by chaining folders with a "/" character. Make sure to enter the folder's path without the "Assets/" part.

Note that all sub-folders will be disabled too.

Note that certain operations are still possible on disabled folders, like for instance saving a file into them, or moving files into them using the OS File Manager. The disabling is purely a UI lock in Unity's Project view.

Art, Audio and Samples folder are disabled