public static void Open(object obj) { if (m_Instance == null) { m_Instance = new GObjectEditor(obj); Gumps.Desktop.Children.Add(m_Instance); Gumps.Focus = m_Instance; } }
protected internal override void OnDispose() { if (this.m_Object is CharData) { ((CharData)this.m_Object).Save(); } if (Engine.TargetHandler is SetItemPropertyTarget) { Engine.TargetHandler = null; } m_Instance = null; }
protected internal override void OnDispose() { if (this.m_Object is CharData) { ((CharData) this.m_Object).Save(); } if (Engine.TargetHandler is SetItemPropertyTarget) { Engine.TargetHandler = null; } m_Instance = null; }