2025-06-10 13:16:36 +00:00
|
|
|
using Godot;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Godot.Collections;
|
|
|
|
|
|
2026-05-22 12:25:02 +00:00
|
|
|
using Rokojori.Extensions;
|
2025-06-10 13:16:36 +00:00
|
|
|
namespace Rokojori
|
|
|
|
|
{
|
|
|
|
|
[Tool]
|
|
|
|
|
[GlobalClass]
|
|
|
|
|
public partial class SetPointableEnabled:Action
|
|
|
|
|
{
|
|
|
|
|
[Export]
|
|
|
|
|
public Pointable pointable;
|
|
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
|
public bool enabled = true;
|
|
|
|
|
|
|
|
|
|
protected override void _OnTrigger()
|
|
|
|
|
{
|
|
|
|
|
pointable.enabled = enabled;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|