Route input settings through state commits
This commit is contained in:
parent
3f2614cec0
commit
91f494b3ae
6 changed files with 18 additions and 9 deletions
|
|
@ -494,12 +494,12 @@ public class InputDisplayLayout : MonoBehaviour
|
|||
}
|
||||
keyPress.Disable();
|
||||
|
||||
SaveLayout();
|
||||
QueueRuntimeInputSettingsCommit();
|
||||
}
|
||||
|
||||
private void SaveLayout()
|
||||
private void QueueRuntimeInputSettingsCommit()
|
||||
{
|
||||
Debug.LogWarning("Keyboard layout persistence belongs to the Verse state spine. Layout edits are runtime-only until Aetheria.State is available as a Unity runtime package.");
|
||||
ActionGameManager.QueueRuntimePlayerSettingsCommit();
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
|
|
@ -558,6 +558,7 @@ public class InputDisplayLayout : MonoBehaviour
|
|||
{
|
||||
ActionGameManager.RuntimePlayerSettings.InputSettings.ActionBarInputs.Remove(buttonMapping.Button.InputSystemPath);
|
||||
}
|
||||
QueueRuntimeInputSettingsCommit();
|
||||
AssignColor(buttonMapping);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue