This commit is contained in:
MrTorex committed 2026-02-06 09:49:32 +03:00
1 parent feaf2bddd0
commit bcc8782a99
42 files changed
+128 -1139

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
using UnityEngine;
namespace Code.Base
{
public class AgentBehaviour : MonoBehaviour
{
public GameObject target;
protected Agent Agent;
public virtual void Update()
{
Agent.SetSteering(GetSteering());
}
public virtual Steering GetSteering()
{
return new Steering();
}
}
}