Reply To: Hot to get variable from task to parent GameObject

Forums 💬 NodeCanvas ⚙️ Support Hot to get variable from task to parent GameObject Reply To: Hot to get variable from task to parent GameObject

#15939
Gavalakis
Keymaster

    Hello there,
    If you mean accessing blackboard variables from code, then yes that is very possible using the blackboard methods. For example
    GetComponent<Blackboard>().GetVariableValue<Vector3>("currentWaypoint");

    Please let me know if that is what you mean indeed.
    Thanks!