using System.Collections; using System.Collections.Generic; using BITKit.Sensors; using NodeCanvas.Framework; using UnityEngine; namespace BITKit.NodeCanvas { /// /// 智能目标检测,包括了以下行为: /// 监测目标集群 /// public class SmartTargetDetectionNode : ActionTask { public BBParameter sensor; public BBParameter target; protected override void OnExecute() { target.SetValue(sensor.value.CurrentTarget); EndAction(); } } }