lab1 base
This commit is contained in:
1 parent
bcc8782a99
commit
fcfa11c284
10 files changed
+142
No files matched your search
@@ -7,6 +7,11 @@ namespace Code.Base
|
||||
public GameObject target;
|
||||
protected Agent Agent;
|
||||
|
||||
public virtual void Awake()
|
||||
{
|
||||
Agent = GetComponent<Agent>();
|
||||
}
|
||||
|
||||
public virtual void Update()
|
||||
{
|
||||
Agent.SetSteering(GetSteering());
|
||||
|
||||
Reference in new issue
Block a user