Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


prefabUIEnvironment

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

Definition

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

Remarks

UI Prefabs are Prefabs that have a RectTransform on the root GameObject.
You can read more about the Prefab Editing Environment in the User Manual.