changed: changed facing direction into BBParamater

This commit is contained in:
Chris
2025-07-15 17:01:58 -04:00
parent 103ffce69b
commit 9e321677c5
3 changed files with 17 additions and 10 deletions

View File

@@ -1,6 +1,8 @@
using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;
using Reset.Player.Movement;
namespace NodeCanvas.Tasks.Actions {
@@ -8,6 +10,8 @@ namespace NodeCanvas.Tasks.Actions {
public class CalculateAirMovement : ActionTask<Transform>{
public BBParameter<Vector3> airMoveDirection;
public BBParameter<Vector3> groundMoveDirection;
public BBParameter<PlayerFacingDirection> playerFacingDirection;
private float airControlPower = 1f;
@@ -20,8 +24,6 @@ namespace NodeCanvas.Tasks.Actions {
//This is called once each time the task is enabled.
//Call EndAction() to mark the action as finished, either in success or failure.
//EndAction can be called from anywhere.
protected override void OnExecute() {
airControlPower = 1f;
protected override void OnExecute(){
}