Skip to content

Commit

Permalink
2.6.11 - Open the UI with Mod+P
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Jan 31, 2016
1 parent 877133a commit 0e30aa6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Expand Up @@ -34,5 +34,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.10.0")]
[assembly: AssemblyFileVersion("2.6.10.0")]
[assembly: AssemblyVersion("2.6.11.0")]
[assembly: AssemblyFileVersion("2.6.11.0")]
6 changes: 6 additions & 0 deletions SmokeScreenUI.cs
Expand Up @@ -55,6 +55,12 @@ private SmokeScreenUI()
button.OnClick += e => { showUI = !showUI; };
}

internal void Update()
{
if (GameSettings.MODIFIER_KEY.GetKey() && Input.GetKeyDown(KeyCode.P))
showUI = !showUI;
}

private void OnDestroy()
{
if (button != null)
Expand Down

0 comments on commit 0e30aa6

Please sign in to comment.