From df32d6ab1f83b8d08f01ca73072990d4e53ef8b7 Mon Sep 17 00:00:00 2001 From: Cassandra de la Cruz-Munoz Date: Thu, 17 Aug 2023 10:13:36 -0400 Subject: [PATCH] create new constructor for VmcExtSetShortcut --- VmcMessages/VmcExtSetShortcut.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/VmcMessages/VmcExtSetShortcut.cs b/VmcMessages/VmcExtSetShortcut.cs index ee3e3bf..86cbd6e 100644 --- a/VmcMessages/VmcExtSetShortcut.cs +++ b/VmcMessages/VmcExtSetShortcut.cs @@ -39,5 +39,10 @@ namespace godotVmcSharp } shortcut = (string)m.Data[0].Value; } + + public VmcExtSetShortcut(string _shortcut) : base(new godotOscSharp.Address("/VMC/Ext/Set/Shortcut")) + { + shortcut = _shortcut; + } } } \ No newline at end of file