add ToMessage() to VmcExtSetShortcut
This commit is contained in:
parent
df32d6ab1f
commit
afdfbe0ef6
|
@ -18,6 +18,7 @@
|
|||
|
||||
using Godot;
|
||||
using godotOscSharp;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace godotVmcSharp
|
||||
{
|
||||
|
@ -44,5 +45,10 @@ namespace godotVmcSharp
|
|||
{
|
||||
shortcut = _shortcut;
|
||||
}
|
||||
|
||||
public godotOscSharp.OscMessage ToMessage()
|
||||
{
|
||||
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{new godotOscSharp.OscArgument(shortcut, 's')});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user