The type or namespace name 'BehaviorTree' does not exist in the namespace 'BehaviorDesigner.Runtime'

You should be able to. Are you using assembly definitions? That's my only guess why you aren't able to access it.
 
I'm using assembly definitions, but I can still access other classes under BehaviorDesigner, which makes me doubt that is not the issue here.
 
Have you tried reproducing it in a fresh project? As a test I just tried and am not able to reproduce it.

The BehaviorTree component definitely exists within the runtime namespace. There's the BehaviorTree.cs MonoBehavior that you're able to check to verify.
 
1610281985738.png

AssemblyDefinitions seem to have something to do with it. In a clear project, the BehaviorTree does show up. If I try to access it from a script under an AsmDef, I see a number of classes but not the BehaviorTree.
 
That's definitely assembly definition related. You can just use the behavior class as it is the parent of behavior tree.
 
Top