Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


previousScene

The scene containing the previous parent. This is useful to detect whether a GameObject was moved to another scene.
Read time 1 minuteLast updated 10 days ago

Definition

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