rokojori_action_library/Runtime/Animation/Driver/FloatDriverNodeTarget.cs

30 lines
586 B
C#
Raw Normal View History

2026-01-05 21:14:39 +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 FloatDriverNodeTarget:FloatDriverTarget
{
[Export]
public NodePath nodePath;
[Export]
public string targetMemberPath;
public override GodotObject GetGodotObject( FloatDriver driver )
{
return driver.GetNode( nodePath );
}
public override string GetTargetMemberPath( FloatDriver driver )
{
return targetMemberPath;
}
}
}