O'Reilly logo
  • Joseph Simpson thinks this is interesting:

We need to make some modifications to our AgentBehaviour class:

From

Cover of Unity 5.x Game AI Programming Cookbook

Note

This is incorrect. These should be added to Agent, not AgentBehavior. The sample code is correct but the book is not.