add ToMessage() to VmcExtRemote
This commit is contained in:
parent
22e076dce6
commit
b8186dac8b
|
@ -18,6 +18,7 @@
|
|||
|
||||
using Godot;
|
||||
using godotOscSharp;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace godotVmcSharp
|
||||
{
|
||||
|
@ -52,5 +53,13 @@ namespace godotVmcSharp
|
|||
service = _service;
|
||||
json = _json;
|
||||
}
|
||||
|
||||
public godotOscSharp.OscMessage ToMessage()
|
||||
{
|
||||
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{
|
||||
new godotOscSharp.OscArgument(service, 's'),
|
||||
new godotOscSharp.OscArgument(json, 's')
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user