Table of Contents

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

DrawToolBarDelegate

Properties

Table

public DataTable Table { get; }

Property Value

DataTable

Methods

CreateDataTableRowView(DataTable)

Implement to use customized DataTableRowView

protected virtual DataTableRowView CreateDataTableRowView(DataTable table)

Parameters

table DataTable

Returns

DataTableRowView

DrawRowView()

protected virtual void DrawRowView()

DrawToolBar()

Draw editor toolbar

protected virtual void DrawToolBar()

GetDataTableRowView()

public DataTableRowView GetDataTableRowView()

Returns

DataTableRowView

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

undo UndoRedoInfo

RebuildEditorView()

Rebuild editor gui view, called on DataTable changed

protected virtual void RebuildEditorView()

RequestDataTableUpdate()

Request change DataTable in editor

protected void RequestDataTableUpdate()