文档

Unity Engine

Unity Engine

prefabUIEnvironment

Allows you to specify a Scene to use as the editing environment for UI Prefabs.
阅读时间1 分钟最后更新于 1 个月前

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.