public void Activate(float direction) { if (direction > 0) { parent.Emerge(); } else { parent.Submerge(); } }