From 4bf0dd71f5168e8fdff8d4910e4cc239c5e3fd9c Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 25 Apr 2014 17:52:43 +0100 Subject: [PATCH] Auto-hide buttons now visible at game launch --- Assets/Fungus/Scripts/Game.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Fungus/Scripts/Game.cs b/Assets/Fungus/Scripts/Game.cs index 73687117..59f39981 100644 --- a/Assets/Fungus/Scripts/Game.cs +++ b/Assets/Fungus/Scripts/Game.cs @@ -162,6 +162,9 @@ namespace Fungus audioSource.playOnAwake = false; audioSource.loop = true; + // Auto-hide buttons should be visible at start of game + autoHideButtonTimer = autoHideButtonDuration; + if (activeRoom == null) { // Pick first room found if none is specified