Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Fixed health bar in left handed mode
Browse files Browse the repository at this point in the history
  • Loading branch information
LivingFray committed Jan 23, 2023
1 parent e30649b commit 95f347f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HellsingerVR/UI/Health.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ public class Health

public void Init()
{
if (HellsingerVR._instance.IsLeftHanded.Value)
{
RotationOffset = Quaternion.Euler(0.0f, 90.0f, 0.0f);
}

Main main = Main.GetInstance();
Transform SharedHUD = main.transform.Find("UIRoot/Overlay/Layer-HUD/HUD(Clone)/Shared");
Transform StageHUD = main.transform.Find("UIRoot/Overlay/Layer-HUD/HUD(Clone)/StageHud");
Expand Down

0 comments on commit 95f347f

Please sign in to comment.