private void Initialize() { rb = GetComponent <Rigidbody2D>(); sr = GetComponent <SpriteRenderer>(); cols = GetComponents <CapsuleCollider2D>(); ph = GetComponent <PlayerHit>(); startGrounderTimer = groundedTimer; ph.Initialize(); }