private void Hide(MedkitController medkit)
        {
            var currentMedkit = medkit.transform.root.gameObject;

            currentMedkit.SetActive(false);
            currentMedkit.GetComponentInChildren <MedkitController>().AssociatedSpawner.IsSpawnerAvailable = true;
        }
 public void ActivateAssociatedSpawner(MedkitController medkit)
 {
     AssociatedSpawner.IsSpawnerAvailable = true;
     Hide(medkit);
 }
 private void OnMedkitPickup(MedkitController medkit)
 {
     Hide(medkit);
 }