This commit is contained in:
CortexCore
2023-11-15 23:55:06 +08:00
parent 5446067f91
commit 70247f0242
82 changed files with 3271 additions and 579 deletions

View File

@@ -15,6 +15,10 @@ namespace BITKit
public BBParameter<int> intParameter;
public BBParameter<int> floatParameter;
public BBParameter<string> stringParameter;
public override string ToString()
{
return $"{command}";
}
protected override void OnExecute()
{

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9e2a1c18f0c0d6348a76579e181a46d5
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections;
using System.Collections.Generic;
using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;
using UnityEngine.AI;
namespace BITKit.NodeCanvas.Pathfinding
{
[Category("Pathfinding")]
public class SetNavMeshAgentOptions : ActionTask<NavMeshAgent>
{
public BBParameter<bool> overrideUpdateRotation = false;
public BBParameter<bool> overrideUpdatePosition = false;
protected override void OnExecute()
{
agent.updateRotation = overrideUpdateRotation.value;
agent.updatePosition = overrideUpdatePosition.value;
EndAction();
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 468f5391afee97e45b1925bcf7fe6e41
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: