📖
FlowReactor
  • 👋Welcome
  • Installation
  • Interface
    • Graph Library
    • Graph Explorer
  • FlowReactorComponent
  • Settings
  • Addons / Packages
  • Guides
    • Introduction
    • Create custom node
    • Variables & Blackboards
      • Type conversions
    • Using the EventSystem
      • Sequencing Events
  • In-depth
    • Node Attributes
    • Long running nodes
    • Node Modules
      • FRNodeControllable
      • FRNodeEventDispatcher
      • Custom node utility modules
    • Assembly Defintion
  • API
    • Nodes
    • Blackboard
    • Eventboard
    • FlowReactorComponent
    • FRVariables
      • FREnum
      • FRAttributes
    • INodeControllable
Powered by GitBook
On this page
  1. Guides
  2. Variables & Blackboards

Type conversions

PreviousVariables & BlackboardsNextUsing the EventSystem

Last updated 2 years ago

FlowReactor can convert several variable types automatically. This is a really nice feature as it removes some additional conversion nodes for converting an Int value to a String value for example. But FlowReactor goes even further regarding GameObject variable types and Asset variable types. For example: If you have an FRAudioSource variable you can connect it to the Owner variable - which is a GameObject type - and FlowReactor will automatically get the audio source component from the owner game object. You could also connect the owner game object variable to a debug log variable and it will log the name of the owner game object.

Examples

Int to string

Different type conversions: Int to String / GameObject to AudioSource / Int to Float: