When checking at the breakpoint, it shows that there is a modification, but when the tree is opened, it is found that there is no modification
It looks like you are trying to modify the value at edit time? You will need to reserialize the tree after it has been modified. The editor is going to reload the tree when it is in focus and Unity isn't playing.
Add Behavior Tree component with External BD at runtime
Hi ! I'm creating a custom inspector that allows to instance external BD at runtime, in this case it's working with Playmaker but could be in other script as well. I've created the inspector of PM that allows me to select an External Behavior Tree, when I select one, then the Variables shows...www.opsive.com
great! thank youCheckForSerialization在这里无济于事 - 使用我链接到的帖子中提到的Save方法。