Skip to content

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.

img

Adding Inputs

In this game, the player uses the WASD to drive the car.

  • Select the FrameSyncInputSettings and configure it as shown below. img

  • Make sure that Name Space is set to SWExample.Soccer which is the c# namespace of this game.

  • Click the Save button.