void OnTriggerEnter(Collider collider) { activeEnvElement.Unspawn(); activeEnvElement = ChooseNewEnvElement(); activeEnvElement.Spawn(); }