void FinishAttack() { if (attacking != null) { trail.Detach(); attacking = null; } rb.angularVelocity = 0f; normalChild.SetActive(true); attackChild.SetActive(false); anim.SetBool("attacking", false); }