Editor.MainViewBase.createEntityEditor C# (CSharp) Méthode

createEntityEditor() public méthode

public createEntityEditor ( uint id, String name ) : void
id uint
name String
Résultat void
        public void createEntityEditor(uint id, String name)
        {
            EntityEditorView tev = new EntityEditorView(this, getCurrentEditor().instance.getInstancePtr(), id, name, EntityEditTargetType.TARGET_ENTITY);

            for (int i = 0; i < componentInfoManager.count(); ++i)
                tev.addComponentClassNameToList(componentInfoManager.getComponentInfoByIndex(i));

            dockPanel.Invoke((MethodInvoker)(() => tev.Show(dockPanel, DockState.Float)));

            entityEditorInstanceList.Add(new EntityEditorInstance(getCurrentEditor().instance.getInstancePtr(), tev));
        }