private void OnCollisionStay2D(Collision2D other)//При коллизии коллайдеров. { Player_Health player_Health = other.gameObject.GetComponent <Player_Health>(); if (player_Health != null && _isDamage) { player_Health.ReduceHealth(damage); _isDamage = false; } }