LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

HideFlags.DontSaveInBuild

Description

The object will not be saved when building a player.

You must manually clear the object from memory using DestroyImmediate to avoid memory leaks.