25 lines
439 B
C#
25 lines
439 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 SetPointableHighlightEffect:Action
|
||
|
{
|
||
|
[Export]
|
||
|
public Pointable pointable;
|
||
|
|
||
|
[Export]
|
||
|
public HighlightEffect effect;
|
||
|
|
||
|
protected override void _OnTrigger()
|
||
|
{
|
||
|
pointable.highlightEffect = effect;
|
||
|
}
|
||
|
}
|
||
|
}
|