Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


prefabRegularEnvironment

Allows you to specify a Scene to use as the editing environment for Prefabs.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static SceneAsset prefabRegularEnvironment { get; set; }

Remarks

The "regular" environment Scene is used when editing any Prefabs that are not UI Prefabs.
You can read more about the Prefab Editing Environment in the User Manual.
Additional Resources: EditorSettings.prefabUIEnvironment.