Storing custom enum inside behaviour tree

Wojtek

New member
HI I would like to store enum inside behaviour tree but unfortunately there is no variable of this type I tried to make shared variable which would be type of my enum but it looks like classess that inherits from generic shared variables are not able to access my enum, I don't know if I'm doing wrong but I cannot find solution for it.
 
Hi Justin thanks for reply as I mention above I tried to make another shared variable by inheriting from generic shared variable but unfortunately thoose classes can't access my enum, I didn't dive deeper into it and I'm not sure what's the reason of this but thoose classes doesn't have access to any monobehaviour and enums
 
Ok, so it actually was my fold I moved "Behavior Designer" folder under Plugins folder as it is a good practice to have plugins assemblies separated and I forgot about that and because everything that's under Plugins folder doesn't have access to Assembly-Csharp I couldn't reference my own script :)
 
Top