From 545e03e27e1260e5f9ab6efe82827d1dd98937b5 Mon Sep 17 00:00:00 2001 From: Joe Spiro Date: Tue, 21 Feb 2023 09:31:00 -0500 Subject: [PATCH] Adds standalone development build keyboard support. --- Assets/Hamster/Scripts/PlayerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Hamster/Scripts/PlayerController.cs b/Assets/Hamster/Scripts/PlayerController.cs index 9400bde..d7ebf6d 100644 --- a/Assets/Hamster/Scripts/PlayerController.cs +++ b/Assets/Hamster/Scripts/PlayerController.cs @@ -39,7 +39,7 @@ public class PlayerController : MonoBehaviour { void Start() { IsProcessingDeath = false; HitPoints = kInitialHitPoints; -#if UNITY_EDITOR +#if UNITY_EDITOR || UNITY_STANDALONE //Development-only on Mac OS X, Windows or Linux inputController = new InputControllers.KeyboardController(); #else inputController = new InputControllers.TiltController(this);