add ToMessage() for VmcExtOpt

This commit is contained in:
Cassandra de la Cruz-Munoz 2023-08-17 09:34:28 -04:00
parent eb0e4b8cef
commit 39b4e1a900

View File

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