示例#1
0
 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;
     }
 }
示例#2
0
 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;
 }