Commit c4a0c291 authored by Sebastian's avatar Sebastian

MovementController updates MovementState on Awake

parent aa2c9f87
...@@ -62,6 +62,8 @@ public class MovementController : MonoBehaviour ...@@ -62,6 +62,8 @@ public class MovementController : MonoBehaviour
r_Collider = GetComponent<CapsuleCollider2D>(); r_Collider = GetComponent<CapsuleCollider2D>();
r_Animator = GetComponent<Animator>(); r_Animator = GetComponent<Animator>();
UpdateMovementParameters();
m_ContactFilter2D.SetLayerMask(m_WhatIsGround); m_ContactFilter2D.SetLayerMask(m_WhatIsGround);
if (OnLandEvent == null) if (OnLandEvent == null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment