Integrating Input System

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Lyton
Posts: 1
Joined: Mon Dec 31, 2018 10:45 pm

Integrating Input System

Post by Lyton »

Hey I just had a question about integrating a couple of systems I have created already for my game. Primarily wanted to integrate my input scripts that work with another asset, InControl. I was wondering if you could lead me in the right direction to integrate it with your Dialogue Manager.
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Integrating Input System

Post by Tony Li »

Hi,

The Dialogue Manager GameObject has an InputDeviceManager script with two delegate functions:
  • InputDeviceManager.IsButtonDown(string buttonName)
  • InputDeviceManager.GetAxis(string axisName)
By default, InputDeviceManager.IsButtonDown reads Input.GetButtonDown, and InputDeviceManager.GetAxis reads Input.GetAxis. Simply assign functions to read from InControl instead.
Post Reply