add ToMessage() to VmcExtSetConfig

This commit is contained in:
Cassandra de la Cruz-Munoz 2023-08-17 10:00:15 -04:00
parent 09c3c15c87
commit 15f967846b

View File

@ -18,6 +18,7 @@
using Godot; using Godot;
using godotOscSharp; using godotOscSharp;
using System.Collections.Generic;
namespace godotVmcSharp namespace godotVmcSharp
{ {
@ -44,5 +45,10 @@ namespace godotVmcSharp
{ {
path = _path; path = _path;
} }
public godotOscSharp.OscMessage ToMessage()
{
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{new godotOscSharp.OscArgument(path, 's')});
}
} }
} }