Skip to content

Commit

Permalink
FixedGrapplerHud
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinRehmeyer-templeU committed Apr 26, 2021
1 parent e1825ae commit c5555d9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Assets/Plugins/GitHub/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Assets/Scripts/Player Scripts/PlayerMovement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,10 @@ void LeaderboardMenu()
leaderboard.Open();
}
}
else if(FindObjectOfType<RuleSet>().GameOver())
{
leaderboard.Open();
}
else
{
leaderboard.Close();
Expand Down
5 changes: 5 additions & 0 deletions Assets/Scripts/Player Scripts/PlayerMovement_Grappler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ void Start()
}
else
{
hudMenu.Close();
Destroy(GetComponentInChildren<Camera>().gameObject);
Destroy(rb);
}
Expand Down Expand Up @@ -540,6 +541,10 @@ void LeaderboardMenu()
leaderboard.Open();
}
}
else if (FindObjectOfType<RuleSet>().GameOver())
{
leaderboard.Open();
}
else
{
leaderboard.Close();
Expand Down

0 comments on commit c5555d9

Please sign in to comment.