rokojori_action_library/Runtime/Animation/Driver/FloatDriverResourceTarget.cs

30 lines
572 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 FloatDriverResourceTarget:FloatDriverTarget
{
[Export]
public Resource resource;
[Export]
public string targetMemberPath;
public override GodotObject GetGodotObject( FloatDriver driver )
{
return resource;
}
public override string GetTargetMemberPath( FloatDriver driver )
{
return targetMemberPath;
}
}
}