Esempio n. 1
0
 protected override void OnListViewItemRenderer(CoilListData data, Rect cellRect, int column)
 {
     _listViewItemRenderer.Render(TableComponent, data, cellRect, column, coilListData => {
         RecordUndo(DataTypeName + " Data Change");
         coilListData.Update();
     });
 }
Esempio n. 2
0
        protected override void OnListViewItemRenderer(CoilListData data, Rect cellRect, int column)
        {
            _listViewItemRenderer.Render(_tableAuthoring, data, cellRect, column, coilListData => {
                RecordUndo(DataTypeName + " Data Change");

                coilListData.Update();

                var coil         = _tableAuthoring.Table.Coilables.FirstOrDefault(c => c.Name == coilListData.PlayfieldItem);
                coil.IsDualWound = coilListData.Type == CoilType.DualWound;
            });
        }