The current state of the GUITable. This has to be used the same way state parameters are used in Unity GUI functions, like the scroll position in BeginScrollView. It has to be passed from one GUI frame to another by keeping a reference in your calling code.
More...
|
| GUITableState (string prefsKey) |
| Initializes a EditorGUITable.GUITableState with a key to save it in EditorPrefs. This constructor can't be used in ScriptableObject's constructor or in the property's declaration, because it uses the EditorPrefs. Use it in OnEnable or Awake instead. More...
|
|
void | SetReorderableList (ReorderableList reorderableList) |
|
void | Save () |
|
void | CheckState (List< TableColumn > columns, GUITableEntry tableEntry, float availableWidth) |
|
void | RightClickMenu (List< TableColumn > columns, Rect? position=null) |
|
void | ResizeColumn (List< TableColumn > columns, int indexColumn, float currentX, Rect? position=null) |
|
The current state of the GUITable. This has to be used the same way state parameters are used in Unity GUI functions, like the scroll position in BeginScrollView. It has to be passed from one GUI frame to another by keeping a reference in your calling code.
GUITableState tableState;
void OnGUI ()
{
tableState = GUITable.DrawTable(collectionProperty, tableState);
}