private void OpenScreenTransition(ScreenTransition transition, Action transitionFinish) { transition.OnOpenTransition(() => DeactivateObject(transition.GetType(), transitionFinish)); }