private void DetectCallback(object obj) { Pair pair = obj as Pair; base.Detect(pair.entity1, pair.entity2); Pair.Pool.GiveBack(pair); }