Example #1
0
    public InputConfig(InputPeripheral aPeripheral, PlayerNumber aNumber = PlayerNumber.God, int aJoystickNumber = 0)
    {
        Peripheral     = aPeripheral;
        Number         = aNumber;
        JoystickNumber = aJoystickNumber;
        InputObjects   = new Dictionary <string, InputObj>();

        Peripheral.SetPeripheralString(Number);
        Debug.Log(aNumber);
        //SetInputObjs();
    }
	public InputConfig(InputPeripheral aPeripheral, PlayerNumber aNumber = PlayerNumber.God, int aJoystickNumber = 0)
	{
		Peripheral = aPeripheral;
		Number = aNumber;
		JoystickNumber = aJoystickNumber;
		InputObjects = new Dictionary<string, InputObj>();

		Peripheral.SetPeripheralString(Number);
		Debug.Log(aNumber);
		//SetInputObjs();
	}