Skip to content

Commit

Permalink
Merge pull request #312 from sjoshua270/patch-1
Browse files Browse the repository at this point in the history
Corrects agent type string
  • Loading branch information
crashkonijn authored Nov 26, 2024
2 parents 5c3e313 + 3ade2a2 commit b957206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Package/Documentation/Introduction/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ namespace CrashKonijn.Docs.GettingStarted.Behaviours

// This only applies sto the code demo
if (this.provider.AgentTypeBehaviour == null)
this.provider.AgentType = this.goap.GetAgentType("DemoAgent");
this.provider.AgentType = this.goap.GetAgentType("ScriptDemoAgent");
}

private void Start()
Expand Down Expand Up @@ -460,4 +460,4 @@ namespace CrashKonijn.Docs.GettingStarted.Actions

When playing the scene the agent will now wait for a while before moving to a new position!

![Second idle run](../images/getting_started/second_idle_run.gif)
![Second idle run](../images/getting_started/second_idle_run.gif)

0 comments on commit b957206

Please sign in to comment.