rj-action-library/Runtime/Interactions/CharacterController/Actions/SetCharacterControllerActio...

28 lines
527 B
C#
Raw Normal View History

2025-07-25 08:13:35 +00:00
using Godot;
using System.Collections;
using System.Collections.Generic;
using Godot.Collections;
namespace Rokojori
{
[Tool]
[GlobalClass]
public partial class SetCharacterControllerAction:Action
{
[Export]
public CharacterControllerAction characterControllerAction;
[Export]
public bool enabled = true;
protected override void _OnTrigger()
{
if ( characterControllerAction == null )
{
return;
}
characterControllerAction.enabled = enabled;
}
}
}