Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HideFlags.HideAndDontSave

Switch to Manual

Description

A combination of not shown in the hierarchy, not saved to to scenes and not unloaded by The object will not be unloaded by Resources.UnloadUnusedAssets.

This is most commonly used for objects which are created by scripts and are purely under their control.

no example available in JavaScript