rj-action-library/Runtime/Interactions/CharacterController/Conditions/CharacterIsJumping.cs

26 lines
393 B
C#
Raw Normal View History

2025-07-22 14:08:22 +00:00
using Godot;
using System.Collections;
using System.Collections.Generic;
using Godot.Collections;
namespace Rokojori
{
[Tool]
[GlobalClass]
public partial class CharacterIsJumping:SceneCondition
{
[Export]
public Jump jump;
public override bool Evaluate()
{
if ( jump == null )
{
return false;
}
return jump.IsJumping();
}
}
}