Reply To: Blackboard Variable changed condition

Forums 💬 NodeCanvas ⚙️ Support Blackboard Variable changed condition Reply To: Blackboard Variable changed condition

#17563
Gavalakis
Keymaster

    Hello and sorry for the late reply.

    I have modified your code to work as I expect you want it to:

    Some notes:
    – Use OnInit only for initialization similar to Unity’s Awake.
    – Use OnEnable and OnDisable to subscribe and unsubscribe.
    – You don’t have to call base implementation of methods.
    – A BBParameter will never be null. Use .isNone to determine if the front-end user has selected a variable or not.

    Let me know if that works for you.
    Thanks!