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)