更改了文件结构
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit.Sensors;
|
||||
using NodeCanvas.Framework;
|
||||
using UnityEngine;
|
||||
namespace BITKit.NodeCanvas
|
||||
{
|
||||
/// <summary>
|
||||
/// 智能目标检测,包括了以下行为:
|
||||
/// <para>监测目标集群</para>
|
||||
/// </summary>
|
||||
public class SmartTargetDetectionNode : ActionTask
|
||||
{
|
||||
public BBParameter<SmartTargetSensor> sensor;
|
||||
public BBParameter<Transform> target;
|
||||
protected override void OnExecute()
|
||||
{
|
||||
target.SetValue(sensor.value.CurrentTarget);
|
||||
EndAction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c72e222f903b1284cabe0eb2c7ffcc59
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user