lab1 base

This commit is contained in:
MrTorex committed 2026-02-06 10:06:04 +03:00
1 parent bcc8782a99
commit fcfa11c284
10 files changed
+142

No files matched your search

+5
View File
@@ -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());