Skip to content

Commit 3115b46

Browse files
authored
Bump Version to 2.4 (#124)
* Bump Version to 2.4 * Resolve Dependencies to fix build errors * Remove MobileVibrations Dependency and its Injections * Remove Refs to Vibrate
1 parent 0117f21 commit 3115b46

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

CopsAndRobbers/Assets/Scripts/PlayerScripts/PlayerHealth/PlayerHealth.cs

+2-4
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ public void Damage(float damage)
5353
/// </summary>
5454
/// <param name="value">Health value, changed based on damage taken</param>
5555
public void SetHealth(float value)
56-
{
57-
if(isLocalPlayer && (value < currentHealth) && ControlContext.Instance.Active)
58-
Vibration.Vibrate();
56+
{
5957
currentHealth = value;
6058
this.eventHealthChanged?.Invoke(currentHealth, maxHealth);
6159
}
@@ -77,4 +75,4 @@ private void Die()
7775
}
7876

7977
}
80-
}
78+
}

CopsAndRobbers/Packages/manifest.json

+2-12
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@
4040
"com.unity.modules.vr" : "1.0.0",
4141
"com.unity.modules.wind" : "1.0.0",
4242
"com.unity.modules.xr" : "1.0.0",
43-
"com.veriorpies.parrelsync" : "https://github.com/VeriorPies/ParrelSync.git?path=/ParrelSync",
44-
"com.benoitfreslon.unity.vibrations" : "1.0.0"
45-
},
46-
"scopedRegistries" : [
47-
{
48-
"name" : "OpenUPM",
49-
"url" : "https://package.openupm.com",
50-
"scopes" : [
51-
"com.benoitfreslon.unity.vibrations"
52-
]
53-
}
54-
]
43+
"com.veriorpies.parrelsync" : "https://github.com/VeriorPies/ParrelSync.git?path=/ParrelSync"
44+
}
5545
}

CopsAndRobbers/ProjectSettings/ProjectSettings.asset

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ PlayerSettings:
124124
16:10: 1
125125
16:9: 1
126126
Others: 1
127-
bundleVersion: 2.0
127+
bundleVersion: 2.4
128128
preloadedAssets:
129129
- {fileID: 0}
130130
- {fileID: 0}
@@ -152,6 +152,8 @@ PlayerSettings:
152152
- {fileID: 0}
153153
- {fileID: 0}
154154
- {fileID: 0}
155+
- {fileID: 0}
156+
- {fileID: 0}
155157
metroInputSource: 0
156158
wsaTransparentSwapchain: 0
157159
m_HolographicPauseOnTrackingLoss: 1

0 commit comments

Comments
 (0)