2025-01-18 12:49:14 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
using System.Text;
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace Rokojori
|
|
|
|
{
|
|
|
|
|
|
|
|
[Tool]
|
|
|
|
[GlobalClass]
|
|
|
|
public partial class Highlight:Action
|
|
|
|
{
|
|
|
|
[Export]
|
|
|
|
public HighlightActionType type;
|
|
|
|
|
|
|
|
[Export]
|
2025-01-18 20:02:20 +00:00
|
|
|
public HighlightEffect highlighter;
|
2025-01-18 12:49:14 +00:00
|
|
|
|
|
|
|
[Export]
|
2025-02-12 16:48:15 +00:00
|
|
|
public Node3D[] targets = new Node3D[ 0 ];
|
2025-01-18 12:49:14 +00:00
|
|
|
|
|
|
|
protected override void _OnTrigger()
|
|
|
|
{
|
|
|
|
highlighter.Highlight( type, targets );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|