Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


newScene

The Scene containing the new parent. This is useful to detect whether a GameObject was moved to another scene or moved to the root of a scene.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public Scene newScene { get; }