From d8e9a15a36f5285e4c635f0e1044c5bae1cf4f2f Mon Sep 17 00:00:00 2001
From: miepzerino <o.skotnik@gmail.com>
Date: Thu, 14 Dec 2023 22:57:28 +0000
Subject: [PATCH] Added more touching directions
---
Assets/Scripts/PlayerController.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs
index c193afd..b2d1868 100644
--- a/Assets/Scripts/PlayerController.cs
+++ b/Assets/Scripts/PlayerController.cs
@@ -14,6 +14,7 @@
Animator animator;
Animator animator_rotor;
public GameObject rotorGO;
+ TouchingDirections touchingDirections;
[SerializeField]
private bool _isMoving;
@@ -60,6 +61,7 @@
rb = GetComponent<Rigidbody2D>();
animator = GetComponent<Animator>();
animator_rotor = rotorGO.GetComponent<Animator>();
+ touchingDirections = GetComponent<TouchingDirections>();
}
// Start is called before the first frame update
--
Gitblit v1.10.0