30 lines
586 B
C#
30 lines
586 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 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;
|
|
}
|
|
|
|
}
|
|
} |