public virtual void Populate() { InitializeDB(); EditorWindow.GetWindow <Dialog_Editor>().titleContent.text = editorTitle; // If there are no nodes, will add the property node if (!db.HasNodeType(typeof(PropertiesNode))) { db.AddNode(db.GetLoadedNodeKey(typeof(PropertiesNode))); } }