public static void Show(Goods goods) { if (Instance.opened) { Instance.changing = goods; return; } Instance.SetItem(goods); MainScreen.Instance.ShowPseudoScreen(Instance); }
public static void Show(Goods goods, IRecipeItemFlowProvider provider) { if (Instance.opened) { Instance.changing = goods; return; } Instance.provider = provider ?? Instance; Instance.SetItem(goods); MainScreen.Instance.ShowPseudoScreen(Instance); }