文档

Unity Engine

Unity Engine

scene

If not null, the camera will only render the contents of the specified Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Scene scene { get; set; }

Remarks

Currently, only Scenes created by EditorSceneManager.NewPreviewScene are supported.