19 lines
283 B
C#
19 lines
283 B
C#
|
|
using Godot;
|
||
|
|
|
||
|
|
using Rokojori.Extensions;
|
||
|
|
namespace Rokojori
|
||
|
|
{
|
||
|
|
[Tool]
|
||
|
|
[GlobalClass]
|
||
|
|
public partial class ReleaseCameraLock : Action
|
||
|
|
{
|
||
|
|
[Export]
|
||
|
|
public CameraLocker cameraLocker;
|
||
|
|
|
||
|
|
protected override void _OnTrigger()
|
||
|
|
{
|
||
|
|
cameraLocker?.Release();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|