using System; using UnityEditor; namespace Unity.Tutorials.Core.Editor { /// /// Proxy class for accessing UnityEditor.EditorWindow. /// [Obsolete("Will be removed in v4. Use EditorWindow instead")] //todo: remove in v4 public class EditorWindowProxy : EditorWindow { internal override void OnResized() { base.OnResized(); OnResized_Internal(); } /// /// Called upon EditorWindow.OnResized(), after the base class' implementation. /// protected virtual void OnResized_Internal() { } /// /// Is the parent of this window null. /// /// True if this window have no parent protected bool IsParentNull() { return m_Parent == null; } } }