Class DataTableEditor
- Namespace
- Ceres.DataDriven.Editor
- Assembly
- Ceres.Editor.dll
public class DataTableEditor : Editor
- Inheritance
-
DataTableEditor
Constructors
DataTableEditor()
public DataTableEditor()
Fields
OnDrawToolBar
Subscribe to add custom toolbar
public DrawToolBarDelegate OnDrawToolBar
Field Value
Properties
Table
public DataTable Table { get; }
Property Value
Methods
CreateDataTableRowView(DataTable)
Implement to use customized DataTableRowView
protected virtual DataTableRowView CreateDataTableRowView(DataTable table)
Parameters
tableDataTable
Returns
DrawRowView()
protected virtual void DrawRowView()
DrawToolBar()
Draw editor toolbar
protected virtual void DrawToolBar()
GetDataTableRowView()
public DataTableRowView GetDataTableRowView()
Returns
OnDisable()
protected virtual void OnDisable()
OnEnable()
protected virtual void OnEnable()
OnInspectorGUI()
public override void OnInspectorGUI()
OnUndo(in UndoRedoInfo)
protected virtual void OnUndo(in UndoRedoInfo undo)
Parameters
undoUndoRedoInfo
RebuildEditorView()
Rebuild editor gui view, called on DataTable changed
protected virtual void RebuildEditorView()
RequestDataTableUpdate()
Request change DataTable in editor
protected void RequestDataTableUpdate()