Files
Hasebe/Library/PackageCache/com.unity.inputsystem@7a4e1a2a8194/Documentation~/configure-input-from-json.md
T
2026-09-21 12:15:57 +03:00

460 B

uid
uid
input-system-configure-input-from-json

Configure input from JSON

You can load actions as JSON in the form of a set of action maps or as a full InputActionAsset. This also works at runtime in the Player.

// Load a set of action maps from JSON.
var maps = InputActionMap.FromJson(json);

// Load an entire InputActionAsset from JSON.
var asset = InputActionAsset.FromJson(json);