V3.1 Upgrade guide
Breaking changes
AgentTypeBuilder
// Old way
var builder = new AgentTypeBuilder(SetIds.Smith);
// New way
var builder = this.CreateBuilder(SetIds.Smith);IGoapInjector
public interface IGoapInjector
{
void Inject(IAction action);
void Inject(IGoal goal);
void Inject(ISensor sensor);
// New methods
void Inject(IAgentTypeFactory factory);
void Inject(ICapabilityFactory factory);
}New Features
You can now make dynamic conditions (code only)!
AgenTypeFactory and CapabilityFactory can now be injected
You can now manually call AgentBehaviour.Run() with custom deltaTimes
Last updated