public WindowMonitoring() { try { InitializeComponent(); ContainersInitialization(); ContainerTabs = new Tabs { Parent = this }; ContainerTabs.OnChangeTab += Event_OnChangeActiveTab; ContainerTabs.AddTab("Authorization", TabSize.Small, cmdAuthirizationPanel, _containerAuthorization); ContainerTabs.AddTab("Location", TabSize.Small, cmdLocation, _containerSolarSystem); ContainerTabs.AddTab("SolarSystem", TabSize.Small, cmdShowContainerSolarSystem, _containerSolarSystemOffline); ContainerTabs.AddTab("Pilots", TabSize.Small, cmdShowContainerPilots, _containerPilotInfo); ContainerTabs.AddTab("Bookmarks", TabSize.Small, cmdShowContainerBookmarks, _containerBookmarks); ContainerTabs.AddTab("Signatures", TabSize.Small, null, _containerTravelHistory); ContainerTabs.AddTab("WebBrowser", TabSize.Large, cmdOpenWebBrowser, _containerBrowser); ContainerTabs.AddTab("Version", TabSize.Large, cmdVersion, _containerVersion); ContainerTabs.AddTab("LostAndFoundOffice", TabSize.Small, null, _containerLostAndFoundOffice); ContainerTabs.AddTab("Router", TabSize.Small, null, _containerRouter); ContainerTabs.Activate("Authorization"); Size = ContainerTabs.Active().Size; lblSolarSystemName = new LabelWithOptionalCopyTextOnDoubleClick { BackColor = Color.Transparent, Font = new Font("Verdana", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))), ForeColor = Color.LightGray, Location = new Point(6, 5), Name = "lblSolarSystemName", Size = new Size(252, 18), TabIndex = 5 }; lblSolarSystemName.MouseDown += Event_TitleBarMouseDown; lblSolarSystemName.DoubleClick += Event_TitleBarDoubleClick; TitleBar.Controls.Add(lblSolarSystemName); } catch (Exception ex) { Log.ErrorFormat("[WindowMonitoring.WindowMonitoring] Critical error {0}", ex); } }
private void InitSpawnTab(Tabs tabs) { var spawnTab = tabs.AddTab(new Tab(string.Empty, Editor.UI.GetIcon("Add48"))); var actorGroups = new Tabs { Orientation = Orientation.Vertical, DockStyle = DockStyle.Fill, TabsSize = new Vector2(120, 32), Parent = spawnTab }; var groupBasicModels = createGroupWithList(actorGroups, "Basic Models"); groupBasicModels.AddChild(CreateEditorAssetItem("Cube", "Primitives/Cube.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Sphere", "Primitives/Sphere.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Plane", "Primitives/Plane.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Cylinder", "Primitives/Cylinder.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Cone", "Primitives/Cone.flax")); var groupLights = createGroupWithList(actorGroups, "Lights"); groupLights.AddChild(CreateActorItem("Directional Light", typeof(DirectionalLight))); groupLights.AddChild(CreateActorItem("Point Light", typeof(PointLight))); groupLights.AddChild(CreateActorItem("Spot Light", typeof(SpotLight))); groupLights.AddChild(CreateActorItem("Sky Light", typeof(SkyLight))); var groupVisuals = createGroupWithList(actorGroups, "Visuals"); groupVisuals.AddChild(CreateActorItem("Camera", typeof(Camera))); groupVisuals.AddChild(CreateActorItem("Environment Probe", typeof(EnvironmentProbe))); groupVisuals.AddChild(CreateActorItem("Skybox", typeof(Skybox))); groupVisuals.AddChild(CreateActorItem("Sky", typeof(Sky))); groupVisuals.AddChild(CreateActorItem("Exponential Height Fog", typeof(ExponentialHeightFog))); groupVisuals.AddChild(CreateActorItem("PostFx Volume", typeof(PostFxVolume))); var groupPhysics = createGroupWithList(actorGroups, "Physics"); groupPhysics.AddChild(CreateActorItem("Rigid Body", typeof(RigidBody))); groupPhysics.AddChild(CreateActorItem("Character Controller", typeof(CharacterController))); groupPhysics.AddChild(CreateActorItem("Box Collider", typeof(BoxCollider))); groupPhysics.AddChild(CreateActorItem("Sphere Collider", typeof(SphereCollider))); groupPhysics.AddChild(CreateActorItem("Capsule Collider", typeof(CapsuleCollider))); groupPhysics.AddChild(CreateActorItem("Mesh Collider", typeof(MeshCollider))); groupPhysics.AddChild(CreateActorItem("Fixed Joint", typeof(FixedJoint))); groupPhysics.AddChild(CreateActorItem("Distance Joint", typeof(DistanceJoint))); groupPhysics.AddChild(CreateActorItem("Slider Joint", typeof(SliderJoint))); groupPhysics.AddChild(CreateActorItem("Spherical Joint", typeof(SphericalJoint))); groupPhysics.AddChild(CreateActorItem("Hinge Joint", typeof(HingeJoint))); groupPhysics.AddChild(CreateActorItem("D6 Joint", typeof(D6Joint))); var groupCsg = createGroupWithList(actorGroups, "CSG"); groupCsg.AddChild(CreateActorItem("Box Brush", typeof(BoxBrush))); var groupGui = createGroupWithList(actorGroups, "GUI"); groupGui.AddChild(CreateActorItem("Text Render", typeof(TextRender))); actorGroups.SelectedTabIndex = 0; }
/// <inheritdoc /> public override void OnInit() { TabsControl = new Tabs { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, TabsSize = new Vector2(48, 48), Parent = this }; TabsControl.AddTab(Spawn = new SpawnTab(Editor.Icons.Add48, Editor)); TabsControl.AddTab(VertexPaint = new VertexPaintingTab(Editor.Icons.Paint48, Editor)); TabsControl.AddTab(Foliage = new FoliageTab(Editor.Icons.Foliage48, Editor)); TabsControl.AddTab(Carve = new CarveTab(Editor.Icons.Mountain48, Editor)); TabsControl.SelectedTabIndex = 0; }
public MainWindow() { InitializeComponent(); // Set the ItemsSource of the TabControl // to the collection of Tab list. TabControl = new Tabs(); TabControl.AddTab(); _myTabControl.ItemsSource = TabControl; }
private void InitFoliageTab(Tabs tabs) { var foliageTab = tabs.AddTab(new Tab(string.Empty, Editor.Icons.Foliage48)); var info = foliageTab.AddChild <Label>(); info.Text = "Foliage spawning coming soon..."; info.DockStyle = DockStyle.Fill; }
private void InitPaintTab(Tabs tabs) { var paintTab = tabs.AddTab(new Tab(string.Empty, Editor.Icons.Paint48)); var info = paintTab.AddChild <Label>(); info.Text = "Vertex painting coming soon..."; info.DockStyle = DockStyle.Fill; }
private void InitPaintTab(Tabs tabs) { var paintTab = tabs.AddTab(new Tab(string.Empty, Editor.Icons.Paint48)); var info = paintTab.AddChild <Label>(); info.Text = "Vertex painting coming soon..."; info.AnchorPreset = AnchorPresets.StretchAll; info.Margin = Margin.Zero; }
/// <inheritdoc /> public override void OnInit() { float tabSize = 48 * Editor.Options.Options.Interface.IconsScale; TabsControl = new Tabs { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, TabsSize = new Vector2(tabSize, tabSize), Parent = this }; TabsControl.AddTab(Spawn = new SpawnTab(Editor.Icons.Toolbox96, Editor)); TabsControl.AddTab(VertexPaint = new VertexPaintingTab(Editor.Icons.Paint96, Editor)); TabsControl.AddTab(Foliage = new FoliageTab(Editor.Icons.Foliage96, Editor)); TabsControl.AddTab(Carve = new CarveTab(Editor.Icons.Terrain96, Editor)); TabsControl.SelectedTabIndex = 0; }
public App() { _gui = new UI(); AppLayout.Load(); var tabs = new Tabs("section_nav", Game.Canvas.Width, Game.Canvas.Height, AppLayout.Data.SectionSelectorTabWidth, AppLayout.Data.SectionSelectorTabHeight); var sprite_tab = tabs.AddTab("SPRITE"); var map_tab = tabs.AddTab("MAP"); var sprite_editor = new SpriteEditor("sprite_editor", sprite_tab.Width, sprite_tab.Height); sprite_tab.Add(sprite_editor); sprite_editor.Align(Alignment.Center); _gui.Add(tabs); }
private void InitCarveTab(Tabs tabs) { var carveTab = tabs.AddTab(new Tab(string.Empty, Editor.Icons.Mountain48)); //carveTab.LinkTooltip("Terrain carving tool")); var info = carveTab.AddChild <Label>(); info.Text = "Terrain carving coming soon..."; info.DockStyle = DockStyle.Fill; }
public void AddTab(string content, string title, string path) { Panel panel = new Panel(); panel.Dock = DockStyle.Fill; MonacoBox mb = new MonacoBox(); mb.Name = "MonacoBox"; mb.Dock = DockStyle.Fill; panel.Controls.Add(mb); Tabs.AddTab(title, panel, path); mb.MonacoBox_Load(null, null, content); }
protected void btnAdd_Click(Object Sender, EventArgs e) { if (Request.Form[hdnId.UniqueID] == "0") { //oRequestItemsTabs.AddTab(txtName.Text, oTabs.AddTab(txtName.Text, txtTabName.Text, txtPath.Text, (chkEnabled.Checked ? 1 : 0)); } else { oTabs.UpdateTab(Int32.Parse(Request.Form[hdnId.UniqueID]), txtName.Text, txtTabName.Text, txtPath.Text, (chkEnabled.Checked ? 1 : 0)); } Response.Redirect(Request.Path); }
private void CreateTab(string name, Func <object> getValue) { var tab = _tabs.AddTab(new Tab(name)); var panel = new Panel(ScrollBars.Vertical) { DockStyle = DockStyle.Fill, Parent = tab }; var settings = new CustomEditorPresenter(null); settings.Panel.Parent = panel; settings.Panel.Tag = getValue; settings.Modified += MarkAsEdited; }
private ContainerControl CreateGroupWithList(Tabs parentTabs, string title) { var tab = parentTabs.AddTab(new Tab(title)); var panel = new Panel(ScrollBars.Both) { DockStyle = DockStyle.Fill, Parent = tab }; var tree = new Tree(false) { DockStyle = DockStyle.Top, IsScrollable = true, Parent = panel }; return(tree); }
private void CreatePresetsTab(Tabs sections) { var tab = sections.AddTab(new Tab("Presets")); _presets = new PresetsColumn(tab, this); _targets = new TargetsColumn(tab, this); var panel = new Panel(ScrollBars.Vertical) { AnchorPreset = AnchorPresets.StretchAll, Offsets = new Margin(140 * 2, 0, 0, 0), Parent = tab }; _targetSettings = new CustomEditorPresenter(null); _targetSettings.Panel.Parent = panel; _targetSettings.Modified += MarkAsEdited; }
private ContainerControl CreateGroupWithList(Tabs parentTabs, string title, float topOffset = 0) { var tab = parentTabs.AddTab(new Tab(title)); var panel = new Panel(ScrollBars.Both) { AnchorPreset = AnchorPresets.StretchAll, Offsets = new Margin(0, 0, topOffset, 0), Parent = tab }; var tree = new Tree(false) { AnchorPreset = AnchorPresets.HorizontalStretchTop, IsScrollable = true, Parent = panel }; return(tree); }
private Tab CreateTab(string name, Func <object> getValue) { var tab = _tabs.AddTab(new Tab(name)); var panel = new Panel(ScrollBars.Vertical) { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, Parent = tab }; var settings = new CustomEditorPresenter(null); settings.Panel.Parent = panel; settings.Panel.Tag = getValue; settings.Modified += MarkAsEdited; return(tab); }
private void CreateBuildTab(Tabs sections) { var tab = sections.AddTab(new Tab("Build")); var platformSelector = new PlatformSelector { DockStyle = DockStyle.Top, BackgroundColor = Style.Current.LightBackground, Parent = tab, }; var panel = new Panel(ScrollBars.Vertical) { DockStyle = DockStyle.Fill, Parent = tab }; var settings = new CustomEditorPresenter(null); settings.Panel.Parent = panel; settings.Select(new BuildTabProxy(this, platformSelector)); }
private void CreatePresetsTab(Tabs sections) { var tab = sections.AddTab(new Tab("Presets")); _presets = new PresetsColumn(this) { Parent = tab, }; _targets = new TargetsColumn(this) { Parent = tab, }; var panel = new Panel(ScrollBars.Vertical) { DockStyle = DockStyle.Fill, Parent = tab }; _targetSettings = new CustomEditorPresenter(null); _targetSettings.Panel.Parent = panel; _targetSettings.Modified += MarkAsEdited; }
private void CreateBuildTab(Tabs sections) { var tab = sections.AddTab(new Tab("Build")); var platformSelector = new PlatformSelector { AnchorPreset = AnchorPresets.HorizontalStretchTop, BackgroundColor = Style.Current.LightBackground, Parent = tab, }; var panel = new Panel(ScrollBars.Vertical) { AnchorPreset = AnchorPresets.StretchAll, Offsets = new Margin(0, 0, platformSelector.Offsets.Height, 0), Parent = tab }; var settings = new CustomEditorPresenter(null); settings.Panel.Parent = panel; settings.Select(new BuildTabProxy(this, platformSelector)); }
ContainerControl createGroupWithList(Tabs parentTabs, string title) { var tab = parentTabs.AddTab(new Tab(title)); var panel = new Panel(ScrollBars.Both) { DockStyle = DockStyle.Fill, Parent = tab }; var tree = new Tree(false) { DockStyle = DockStyle.Top, IsScrollable = true, RootNodesOffset = -8, Parent = panel }; var root = new TreeNode(false) { Parent = tree }; root.Expand(); return(root); }
private void InitCarveTab(Tabs tabs) { var carveTab = tabs.AddTab(new Tab(string.Empty, Editor.UI.GetIcon("Mountain48"))); //carveTab.LinkTooltip("Terrain carving tool")); }
private void InitFoliageTab(Tabs tabs) { var foliageTab = tabs.AddTab(new Tab(string.Empty, Editor.UI.GetIcon("Foliage48"))); //foliageTab.LinkTooltip("Foliage spawning tool")); }
private void InitPaintTab(Tabs tabs) { var paintTab = tabs.AddTab(new Tab(string.Empty, Editor.UI.GetIcon("Paint48"))); //paintTab.LinkTooltip("Vertex painint tool")); }
public void CreateSellTab() { TabSelector.Tab sellTab = Tabs.AddTab("Sell"); GridLayout sellBoxLayout = new GridLayout(GUI, sellTab, 10, 4); SellSelector = new ItemSelector(GUI, sellBoxLayout, "Items", false, false) { Columns = new List <ItemSelector.Column>() { ItemSelector.Column.Image, ItemSelector.Column.Name, ItemSelector.Column.Amount, ItemSelector.Column.TotalPrice, ItemSelector.Column.ArrowRight }, NoItemsMessage = "No goods in our stockpiles", ToolTip = "Click items to put them in the sell order" }; sellBoxLayout.SetComponentPosition(SellSelector, 0, 0, 2, 10); SellSelector.Items.AddRange(GetResources(Faction.ListResources().Values.ToList())); SellSelector.ReCreateItems(); SellCart = new ItemSelector(GUI, sellBoxLayout, "Order", false, false) { Columns = new List <ItemSelector.Column>() { ItemSelector.Column.ArrowLeft, ItemSelector.Column.Image, ItemSelector.Column.Name, ItemSelector.Column.Amount, ItemSelector.Column.TotalPrice }, NoItemsMessage = "No items selected", ToolTip = "Click items to remove them from the sell order" }; SellCart.ReCreateItems(); sellBoxLayout.SetComponentPosition(SellCart, 2, 0, 2, 9); SellSelector.OnItemRemoved += SellCart.AddItem; SellCart.OnItemRemoved += SellSelector.AddItem; Button sellButton = new Button(GUI, sellBoxLayout, "Sell", GUI.DefaultFont, Button.ButtonMode.PushButton, null) { ToolTip = "Click to sell items in the order" }; sellBoxLayout.SetComponentPosition(sellButton, 3, 9, 1, 2); sellButton.OnClicked += sellButton_OnClicked; SellTotal = new Label(GUI, sellBoxLayout, "Order Total: $0.00", GUI.DefaultFont) { WordWrap = true, ToolTip = "Order total" }; sellBoxLayout.SetComponentPosition(SellTotal, 2, 9, 1, 2); SellCart.OnItemChanged += SellCart_OnItemChanged; }
public void CreateBuyTab() { TabSelector.Tab buyTab = Tabs.AddTab("Buy"); GridLayout buyBoxLayout = new GridLayout(GUI, buyTab, 10, 4); BuySelector = new ItemSelector(GUI, buyBoxLayout, "Items", false, false) { Columns = new List <ItemSelector.Column>() { ItemSelector.Column.Image, ItemSelector.Column.Name, ItemSelector.Column.PricePerItem, ItemSelector.Column.ArrowRight }, NoItemsMessage = "Nothing to buy", ToolTip = "Click items to add them to the shopping cart" }; buyBoxLayout.SetComponentPosition(BuySelector, 0, 0, 2, 10); BuySelector.Items.AddRange(GetResources(1.0f)); BuySelector.ReCreateItems(); ShoppingCart = new ItemSelector(GUI, buyBoxLayout, "Order", false, false) { Columns = new List <ItemSelector.Column>() { ItemSelector.Column.ArrowLeft, ItemSelector.Column.Image, ItemSelector.Column.Name, ItemSelector.Column.Amount, ItemSelector.Column.TotalPrice }, NoItemsMessage = "Nothing", ToolTip = "Click items to remove them from the shopping cart", PerItemCost = 1.00f }; ShoppingCart.ReCreateItems(); buyBoxLayout.SetComponentPosition(ShoppingCart, 2, 0, 2, 9); BuySelector.OnItemRemoved += ShoppingCart.AddItem; ShoppingCart.OnItemRemoved += BuySelector.AddItem; ShoppingCart.OnItemChanged += shoppingCart_OnItemChanged; Button buyButton = new Button(GUI, buyBoxLayout, "Buy", GUI.DefaultFont, Button.ButtonMode.PushButton, null) { ToolTip = "Click to order items in the shopping cart" }; buyBoxLayout.SetComponentPosition(buyButton, 3, 9, 1, 2); BuyTotal = new Label(GUI, buyBoxLayout, "Order Total: $0.00", GUI.DefaultFont) { WordWrap = true, ToolTip = "Order total" }; buyBoxLayout.SetComponentPosition(BuyTotal, 2, 9, 1, 2); buyButton.OnClicked += buyButton_OnClicked; }
private void InitCarveTab(Tabs tabs) { Carve = tabs.AddTab(new CarveTab(Editor.Icons.Mountain48, Editor)); }
private void InitFoliageTab(Tabs tabs) { tabs.AddTab(Foliage = new FoliageTab(Editor.Icons.Foliage48, Editor)); }
private void InitSculptMode() { var tab = _modes.AddTab(Sculpt = new SculptTab(this, Editor.Windows.EditWin.Viewport.SculptTerrainGizmo)); tab.Selected += OnTabSelected; }
/// <summary> /// Initializes a new instance of the <see cref="VisjectSurfaceWindow{TAsset, TSurface, TPreview}"/> class. /// </summary> /// <param name="editor">The editor.</param> /// <param name="item">The item.</param> /// <param name="useTabs">if set to <c>true</c> [use tabs].</param> protected VisjectSurfaceWindow(Editor editor, AssetItem item, bool useTabs = false) : base(editor, item) { // Undo _undo = new FlaxEditor.Undo(); _undo.UndoDone += OnUndoRedo; _undo.RedoDone += OnUndoRedo; _undo.ActionDone += OnUndoRedo; // Split Panel 1 _split1 = new SplitPanel(Orientation.Horizontal, ScrollBars.None, ScrollBars.None) { AnchorPreset = AnchorPresets.StretchAll, Offsets = new Margin(0, 0, _toolstrip.Bottom, 0), SplitterValue = 0.7f, Parent = this }; // Split Panel 2 _split2 = new SplitPanel(Orientation.Vertical, ScrollBars.None, ScrollBars.Vertical) { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, SplitterValue = 0.4f, Parent = _split1.Panel2 }; // Properties editor if (useTabs) { _tabs = new Tabs { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, TabsSize = new Vector2(60, 20), TabsTextHorizontalAlignment = TextAlignment.Center, UseScroll = true, Parent = _split2.Panel2 }; var propertiesTab = new Tab("Properties", _undo); _propertiesEditor = propertiesTab.Presenter; _tabs.AddTab(propertiesTab); } else { _propertiesEditor = new CustomEditorPresenter(_undo); _propertiesEditor.Panel.Parent = _split2.Panel2; } _propertiesEditor.Modified += OnPropertyEdited; // Toolstrip _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save"); _toolstrip.AddSeparator(); _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)"); _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)"); _toolstrip.AddSeparator(); _toolstrip.AddButton(editor.Icons.CenterView64, ShowWholeGraph).LinkTooltip("Show whole graph"); // Setup input actions InputActions.Add(options => options.Undo, _undo.PerformUndo); InputActions.Add(options => options.Redo, _undo.PerformRedo); }
private void InitSpawnTab(Tabs tabs) { Spawn = tabs.AddTab(new Tab(string.Empty, Editor.Icons.Add48)); Spawn.Selected += (tab) => Editor.Windows.EditWin.Viewport.SetActiveMode <TransformGizmoMode>(); var actorGroups = new Tabs { Orientation = Orientation.Vertical, UseScroll = true, DockStyle = DockStyle.Fill, TabsSize = new Vector2(120, 32), Parent = Spawn }; var groupBasicModels = CreateGroupWithList(actorGroups, "Basic Models"); groupBasicModels.AddChild(CreateEditorAssetItem("Cube", "Primitives/Cube.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Sphere", "Primitives/Sphere.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Plane", "Primitives/Plane.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Cylinder", "Primitives/Cylinder.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Cone", "Primitives/Cone.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Capsule", "Primitives/Capsule.flax")); var groupLights = CreateGroupWithList(actorGroups, "Lights"); groupLights.AddChild(CreateActorItem("Directional Light", typeof(DirectionalLight))); groupLights.AddChild(CreateActorItem("Point Light", typeof(PointLight))); groupLights.AddChild(CreateActorItem("Spot Light", typeof(SpotLight))); groupLights.AddChild(CreateActorItem("Sky Light", typeof(SkyLight))); var groupVisuals = CreateGroupWithList(actorGroups, "Visuals"); groupVisuals.AddChild(CreateActorItem("Camera", typeof(Camera))); groupVisuals.AddChild(CreateActorItem("Environment Probe", typeof(EnvironmentProbe))); groupVisuals.AddChild(CreateActorItem("Skybox", typeof(Skybox))); groupVisuals.AddChild(CreateActorItem("Sky", typeof(Sky))); groupVisuals.AddChild(CreateActorItem("Exponential Height Fog", typeof(ExponentialHeightFog))); groupVisuals.AddChild(CreateActorItem("PostFx Volume", typeof(PostFxVolume))); groupVisuals.AddChild(CreateActorItem("Decal", typeof(Decal))); var groupPhysics = CreateGroupWithList(actorGroups, "Physics"); groupPhysics.AddChild(CreateActorItem("Rigid Body", typeof(RigidBody))); groupPhysics.AddChild(CreateActorItem("Character Controller", typeof(CharacterController))); groupPhysics.AddChild(CreateActorItem("Box Collider", typeof(BoxCollider))); groupPhysics.AddChild(CreateActorItem("Sphere Collider", typeof(SphereCollider))); groupPhysics.AddChild(CreateActorItem("Capsule Collider", typeof(CapsuleCollider))); groupPhysics.AddChild(CreateActorItem("Mesh Collider", typeof(MeshCollider))); groupPhysics.AddChild(CreateActorItem("Fixed Joint", typeof(FixedJoint))); groupPhysics.AddChild(CreateActorItem("Distance Joint", typeof(DistanceJoint))); groupPhysics.AddChild(CreateActorItem("Slider Joint", typeof(SliderJoint))); groupPhysics.AddChild(CreateActorItem("Spherical Joint", typeof(SphericalJoint))); groupPhysics.AddChild(CreateActorItem("Hinge Joint", typeof(HingeJoint))); groupPhysics.AddChild(CreateActorItem("D6 Joint", typeof(D6Joint))); var groupOther = CreateGroupWithList(actorGroups, "Other"); groupOther.AddChild(CreateActorItem("Animated Model", typeof(AnimatedModel))); groupOther.AddChild(CreateActorItem("Bone Socket", typeof(BoneSocket))); groupOther.AddChild(CreateActorItem("CSG Box Brush", typeof(BoxBrush))); groupOther.AddChild(CreateActorItem("Audio Source", typeof(AudioSource))); groupOther.AddChild(CreateActorItem("Audio Listener", typeof(AudioListener))); groupOther.AddChild(CreateActorItem("Empty Actor", typeof(EmptyActor))); var groupGui = CreateGroupWithList(actorGroups, "GUI"); groupGui.AddChild(CreateActorItem("UI Control", typeof(UIControl))); groupGui.AddChild(CreateActorItem("UI Canvas", typeof(UICanvas))); groupGui.AddChild(CreateActorItem("Text Render", typeof(TextRender))); actorGroups.SelectedTabIndex = 0; }