]> git.cameronkatri.com Git - gmtk-gamejam.git/commitdiff
One line
authorCameron Katri <me@cameronkatri.com>
Sun, 13 Jun 2021 01:05:42 +0000 (21:05 -0400)
committerCameron Katri <me@cameronkatri.com>
Sun, 13 Jun 2021 01:05:42 +0000 (21:05 -0400)
Assets/Scripts/Controllers/Hoop.cs

index 8809b87be858425023cd7522694a5d88982d14e4..39c7a6f3d981bb6be1b67774fa048aaf982739c2 100644 (file)
@@ -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)
                {