public List <SimplePart> GetNearby(float distance) { CellGroup cg = transform.parent.GetComponent <CellGroup>(); if (cg == null) { return(new List <SimplePart>()); } else { return(cg.GetNearby(this, distance)); } }