21 lines
352 B
C#
21 lines
352 B
C#
|
|
|
||
|
|
using Godot;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
using Rokojori.Extensions;
|
||
|
|
namespace Rokojori
|
||
|
|
{
|
||
|
|
|
||
|
|
[Tool]
|
||
|
|
[GlobalClass]
|
||
|
|
public partial class ReleaseActivationModeSensor : Action
|
||
|
|
{
|
||
|
|
[Export]
|
||
|
|
public ActivationModeSensor activationModeSensor;
|
||
|
|
|
||
|
|
protected override void _OnTrigger()
|
||
|
|
{
|
||
|
|
activationModeSensor?.Release();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|