base
This commit is contained in:
1 parent
feaf2bddd0
commit
bcc8782a99
42 files changed
+128
-1139
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user