Logic is a powerful add-on that enables high level visual scripting within Databrain. It is seamlessly integrated into Databrain and offers a comprehensive node editor that allows you to create logical sequences for your data objects with ease.
Create custom nodes tailored to your project and data. Creating a new custom node is as easy as creating a new C# file in Unity. Easily set the node properties like outputs, color, title, category, icon and description by using NodeAttributes. It is also possible to create a custom inspector UI for your node. Create logic flows, query data, listen to events or perform specific actions.
Thanks to the return value node, you can set and get a return value on the graphs on complete event. In addition you can also reference other data objects in nodes to simply get their values at runtime. The data object dropdown attribute works everywhere!
Logic also allows easy referencing of scene objects. Nodes can easily access scene objects through the Logic controller component in the scene when necessary. All UnityEngine.Object types are supported.
Fields in a node can also have the ExposeToInspector-attribute to expose them to the data object inspector view of the data object property drawer. Therefore, values can be altered directly in the Unity inspector without the need to open up the Logic node editor.