Skip to content

Commit

Permalink
Adds standalone development build keyboard support.
Browse files Browse the repository at this point in the history
  • Loading branch information
joefspiro committed Feb 21, 2023
1 parent 3c1e5b9 commit 545e03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Hamster/Scripts/PlayerController.cs
Expand Up @@ -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);
Expand Down

0 comments on commit 545e03e

Please sign in to comment.