aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Assets/Scripts/Controllers/Hoop.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Assets/Scripts/Controllers/Hoop.cs b/Assets/Scripts/Controllers/Hoop.cs
index 8809b87..39c7a6f 100644
--- a/Assets/Scripts/Controllers/Hoop.cs
+++ b/Assets/Scripts/Controllers/Hoop.cs
@@ -14,10 +14,7 @@ namespace Controllers
private Animator HoopAnimator;
- private void Awake()
- {
- HoopAnimator = GetComponentInChildren<Animator>();
- }
+ private void Awake() => HoopAnimator = GetComponentInChildren<Animator>();
private void OnTriggerEnter2D(Collider2D other)
{