28 lines
478 B
C#
28 lines
478 B
C#
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]
|
|
public HighlightEffect highlighter;
|
|
|
|
[Export]
|
|
public Node3D[] targets;
|
|
|
|
protected override void _OnTrigger()
|
|
{
|
|
highlighter.Highlight( type, targets );
|
|
}
|
|
}
|
|
} |