protected override void OnCantMove <T>(T component) { Walls hitWall = component as Walls; hitWall.DamageWall(wallDamage); anim.SetTrigger("Chop"); }