BG`Database BG`Localization BG`Curve Blog Support
  • BG Database
  • BG Localization
  • BG Curve
  • Support
  • BG Database Home
    • Setup
    • How to use
    • GUI overview
    • GUI tips and tricks
    • Code Examples
    • Video guides
    • Field types
    • Export Import
    • Data Binding
    • Graph Editor
    • Merge Tools
    • Misc
    • Downloads
  • Code Generation
    • Extension Classes
    • MonoBehavior Classes
  • Third-Party Integration
    • Excel
    • Google Sheets
    • Unity Visual Scripting (ex-Bolt)
    • Unity Behavior
    • Playmaker
    • Flow Canvas
    • Node Canvas
    • Behavior Designer
    • UNode
    • Game Creator
  • Addons
    • Save Load
    • Code Generation
    • Lazy Load
    • Live Update
    • Multithreading
    • Modding
    • Settings
    • Partitions
    • Diagram
    • Minify
    • Localization
  • API
    • BGRepo
    • BGMetaEntity
    • BGEntity
    • BGField
BG BGDatabase Home Setup How To Use Video guides Example Breakdown Fields Export Import Data Binding Events Code Generation Addons

GraphEditor

← Back Nested table example

Setup

The following database structure is used. Card table has nested Effects table with heal and damage fields

The objective

We want to add calculated int field totalHeal to Card table. totalHeal is calculated by iterating all nested rows and adding a heal field value and subtracting damage field value

Graph

The result

← Back to GraphEditor
or