From 3ee243bd577d59938c6805a25e11eb9228ed4a04 Mon Sep 17 00:00:00 2001 From: nexovec Date: Fri, 28 Jan 2022 21:57:59 +0100 Subject: [PATCH] fixed typo --- Assets/Scripts/PlayerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 2d15621..10fc063 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -62,7 +62,7 @@ public class PlayerController : MonoBehaviour { if (collision.gameObject.tag == "platform") { - this.gameObject.tranform.rotation = collision.gameObject.transform.rotation; + this.gameObject.transform.rotation = collision.gameObject.transform.rotation; } } }