working on zombie ai

This commit is contained in:
2025-10-10 18:08:54 +02:00
parent 8cee5fbf9e
commit 128166317d
13 changed files with 149 additions and 13 deletions

View File

@@ -0,0 +1,26 @@
using System;
using Unity.Behavior;
using UnityEngine;
using Action = Unity.Behavior.Action;
using Unity.Properties;
[Serializable, GeneratePropertyBag]
[NodeDescription(name: "FindClosestAttackTarget", story: "Agent finds Target", category: "Action", id: "c335cdd99cc546403f5ca3cd5c5e2fa3")]
public partial class FindClosestAttackTargetAction : Action
{
protected override Status OnStart()
{
return Status.Running;
}
protected override Status OnUpdate()
{
return Status.Success;
}
protected override void OnEnd()
{
}
}