Resizable Table Unity Editor

Using in a custom editor window To display a table in a custom editor, call one of the DrawTable functions in GUITableLayout. The table state Note all the following functions use a GUITableState object as state parameter. This is the same functioning as other Unity GUI functions, like GUILayout.BeginScrollView for example. The calling code

SimpleEditorTableView provides a simple way to create a TableView in Unity Editor GUI. It encapsulates Unity's MultiColumnHeader and ScrollView, but with a simpler and more direct interface, supporting click sorting and custom element rendering. For a complete Demo, see DemoWindow.cs

It uses the GUILayout elements and just organizes them in a table, so the style is consistent with the rest of the editor. Various levels of customization 5 options to draw the table, to cover all the needs, from the basic to the most complex. Just give the collection as parameter and let the plugin automatically create columns for each property

Asset Store Link Documentation A beautiful, easy-to-use and customizable table to display in the Unity Editor! This package helps programmers create nice visual editors for artists and game designers to use in the Editor. Forget the neverending lists of lists of parameters to tweak! It uses the GUI elements and just organizes them in a table, so the style is consistent with the rest of the

A Utility class for creating tables in Unity's editor GUI. A table can either be created from scratch using new GUITablexCount,yCount, or created using one of the static GUITable.Create overloads. See the online documentation, for examples and more information.

To test serialization in Unity editor while in Play mode, right click the DynamicPanelsCanvas component and select quotSave Layoutquot or quotLoad Layoutquot. static byte SerializeCanvasToArray DynamicPanelsCanvas canvas serializes the current state of the panels inside the canvas and returns the serialized data.

The table layout group allows the layout of child items in to the style of a table. You can specify how many columns should be supported as well as the size of columns and rows. Additionally, you can specify padding between the columns and rows. If you wish you can override the fixed row height to allow child elements to set their height.

So you could use Tablenull, new string quotReorderabletruequot But you could also just do ReorderableTable You can then reorder and remove elements in the table. Width gets reset because Unity creates a new Editor object, I'm not sure I can do something about it, but I'll investigate. Your other remarks are great feedback.

About Odin Inspector. Odin Inspector is a plugin for Unity that lets you enjoy all the workflow benefits of having a powerful, customized and user-friendly editor, without ever having to write a single line of custom editor code.

I can't seem to find a feature to make elements resizable. For example is there a simple way to make 3 VisualElement columns horizontally resizable so that their width's can be adjusted individually with a context sensitive mouse hover action and the neighbor flex elements resize to fit everything? From rummaging around this seems to be something called SplitView or TwoPaneSplitView. If so