Disabled Script Extension

  06. Preferences No Comments

This setting determines the file extension that will be appended at the end of script asset files that you disable*.

If you use the extension “.tmp” then the files will not not even show up in the Project Window, as that is a special file extension that the Unity editor will completely ignore.
Files with another supernumerary extension like \”.disabled\” will be listed in the Project Window as text assets, but won’t get compiled as scripts.

Default Value

The default value for this setting is “.disabled”.

* In Power Inspector you can disable script assets by selecting Disable from their context menu. It can be useful sometimes to temporarily disable scripts from compiling, for example when a script asset is generating compile errors when making a build or switching the active platform.
You can restore disabled scripts by selecting Undisable from their context menu.