HideFlags.DontSaveHideFlags.DontSaveDescriptionThe object will not be saved to the scene. It will not be destroyed when a new scene is loaded. It is your responsibility to cleanup the object manually using DestroyImmediate, otherwise it will leak.
JavaScript
// Instantiates a Plane everytime the game starts and never destroys it using UnityEngine; import UnityEngine |
