예제 #1
0
        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)));
            }
        }