Declare Inputs for Your Game¶
In this section, you will create an InputSettings scriptableObject for your game.
Creating an InputSettings ScriptableObject¶
- Right click in the project browser, and select
Create->SocketWeaver->FrameSync->InputSettings. - Name the new asset
FrameSyncInputSettings.

Adding Inputs¶
In this game, the player uses the WASD to drive the car.
-
Select the
FrameSyncInputSettingsand configure it as shown below.
-
Make sure that
Name Spaceis set toSWExample.Soccerwhich is the c# namespace of this game. - Click the
Savebutton.