using Godot; using Rokojori; using System.Collections.Generic; namespace Rokojori { [Tool] [GlobalClass] public partial class AssignTextureAttributesTexture:Action { [Export] public TextureAttributes textureAttributes; [Export] public Material material; [Export] public Sampler2DPropertyName texturePropertyName; protected override void _OnTrigger() { texturePropertyName.Set( material, textureAttributes.texture ); } } }