rokojori_action_library/Runtime/Animation/Driver/FloatDriverResourceTarget.cs

30 lines
574 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;
2026-01-10 18:35:50 +00:00
public override GodotObject GetGodotObject( IFloatDriver driver )
2026-01-05 21:14:39 +00:00
{
return resource;
}
2026-01-10 18:35:50 +00:00
public override string GetTargetMemberPath( IFloatDriver driver )
2026-01-05 21:14:39 +00:00
{
return targetMemberPath;
}
}
}