BehaviourTreeResult OnNode2(BehaviourTree <TestDataStore> bt) { // calling store api. bt.GetStore().Test(); Debug.Log("node2 - ok"); return(BehaviourTreeResult.Success); }