From 0e30aa6c190b19172aa47ebc833e902003f34813 Mon Sep 17 00:00:00 2001 From: Sarbian Date: Sun, 31 Jan 2016 15:50:02 +0100 Subject: [PATCH] 2.6.11 - Open the UI with Mod+P --- Properties/AssemblyInfo.cs | 4 ++-- SmokeScreenUI.cs | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 5e8380c..66573de 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -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")] diff --git a/SmokeScreenUI.cs b/SmokeScreenUI.cs index 028e717..9aab961 100644 --- a/SmokeScreenUI.cs +++ b/SmokeScreenUI.cs @@ -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)