18 lines
296 B
C#
18 lines
296 B
C#
|
|
|
||
|
|
using Godot;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
namespace Rokojori
|
||
|
|
{
|
||
|
|
[Tool][GlobalClass ]
|
||
|
|
public partial class CancelSequenceAction : Action
|
||
|
|
{
|
||
|
|
[Export]
|
||
|
|
public SequenceAction sequence;
|
||
|
|
|
||
|
|
protected override void _OnTrigger()
|
||
|
|
{
|
||
|
|
sequence?.CancelAllRunning();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|