1
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"GUID:517785bb4600a5140b47eac5fa49b8fc",
|
||||
"GUID:6ef4ed8ff60a7aa4bb60a8030e6f4008",
|
||||
"GUID:709caf8d7fb6ef24bbba0ab9962a3ad0",
|
||||
"GUID:7efac18f239530141802fb139776f333"
|
||||
"GUID:7efac18f239530141802fb139776f333",
|
||||
"GUID:508392158bd966c4d9c21e19661a441d"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
@@ -9,7 +9,7 @@ namespace BITKit
|
||||
{
|
||||
public class EntityBehaviourTree :EntityComponent, IHealthCallback,IEntityOverrideCallback
|
||||
{
|
||||
[SerializeField] private BehaviourTreeOwner behaviourTree;
|
||||
public BehaviourTreeOwner behaviourTree;
|
||||
[SerializeField] private Blackboard blackboard;
|
||||
|
||||
private readonly ValidHandle _allow=new();
|
||||
|
8
Packages/Runtime~/Unity/Extensions/NodeCanvas/Quest.meta
Normal file
8
Packages/Runtime~/Unity/Extensions/NodeCanvas/Quest.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb1083205459dd34799a4ae42956c7a9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 825b55b80e458244d8c495b5e309b8a3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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