diff --git a/Assets/Scripts/src/Wall/ExitDoor.cs b/Assets/Scripts/src/Wall/ExitDoor.cs index b0d0444..db16603 100644 --- a/Assets/Scripts/src/Wall/ExitDoor.cs +++ b/Assets/Scripts/src/Wall/ExitDoor.cs @@ -1,5 +1,6 @@ using System; using src.Base; +using src.Helpers; using src.Managers; using UnityEngine; @@ -8,12 +9,10 @@ namespace src.Wall public class ExitDoor : GameplayComponent { private GameManager _gameManager; - private Collider2D _collider2D; private void Start() { _gameManager = GameManager.instance; - _collider2D = GetComponent(); } /* Trigger the next level and destroy itself. */