void FixedUpdate() { if (!ManagerPause.Pause) { if (Physics2D.OverlapCircleNonAlloc(transform.position, headRadius, result, whatIsGround) > 0) { if (move.isGround && !move.isDead) { Debug.Log("kill"); move.Kill(); } } } }
public override void Kill() { // OnDead(Vector3.zero); KlausMove.Kill(); }