Skip to content

Commit

Permalink
1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yboumaiza7 committed Nov 6, 2024
1 parent 236469f commit 11ae355
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Inputs-Manager
A new customizable and dynamic Input alternative for Unity based on the New Input System.

**Version:** 1.1.3
**Version:** 1.1.4

## Features
- High-performant code (Using C# Jobs System & Burst)
Expand Down Expand Up @@ -62,6 +62,8 @@ You can access the Inputs Manager API from the `Utilities.Inputs` namespace.
- Input System: 1.7.0 or newer

## Release Notes
- 1.1.4
- Updated obsolete code
- 1.1.3
- Improved exceptions handling
- Updated `Readme.md`
Expand Down
5 changes: 4 additions & 1 deletion Scripts/InputsManager/Runtime/Managed/InputsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,10 @@ public static void Update()
jobHandles.Add(inputGamepadJob.ScheduleParallel(gamepadsCount, 1, default));
}

JobHandle.CompleteAll(jobHandles);
NativeArray<JobHandle> jobHandlesArray = jobHandles.ToArray(Allocator.Temp);

JobHandle.CompleteAll(jobHandlesArray);
jobHandlesArray.Dispose();
jobHandles.Dispose();

if (gamepadsCount > 0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"displayName": "Inputs Manager",
"name": "dev.bxbstudio.inputs-manager",
"description": "A simple and customization input alternative for Unity based on the New Input System.",
"version": "1.1.3",
"version": "1.1.4",
"unity": "2020.3",
"unityRelease": "17f1",
"dependencies": {
Expand Down

0 comments on commit 11ae355

Please sign in to comment.