using Godot;
using System.Reflection;
using System.Collections.Generic;

namespace Rokojori
{ 
  [Tool]
  [GlobalClass]
  public partial class SetVector3PropertyFromNode:Action
  { 
    [Export]
    public Node3D node3D;

    [Export]
    public bool global;

    [Export]
    public Vector3PropertyName name;

    [Export]
    public Material material;

    protected override void _OnTrigger()
    {
      name.Set( material, node3D.GetPosition( global ) );
    }


  }
}