- Home /
Accessing AI.Planner Traits on TraitComponent
I am trying out the AI.Planner object, and I'd like to update my traits. The TraitComponent Monobehavior however returns a IEnumerable, not an ITrait object.
How can I cast the ITraitData to my specific trait I want to manipulate?
Comment
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
EnemyAI C# Error 1 Answer
AI Look at X axis more efficient code 1 Answer
Need Help making Pong AI beatable 1 Answer