private void UnregisterEntity() { // remove from recursion check registry if (_ps.entity != null) { _currentEntities.Remove(_ps.entity); } }