public void OnButton() { XPromoConfig cfg = PersistentSingleton <Economies> .Instance.XPromo.Find((XPromoConfig c) => c.ID == m_xpromoApp); if (m_isInstalled) { // XPromoPlugin.OpenAppOnDevice(cfg); } else { m_popupManager.ShowInfo(); } Singleton <XPromoRunner> .Instance.SetNextApp(); }
public void OnButton() { m_popupManager.ShowInfo(); Singleton <XPromoRunner> .Instance.SetNextApp(); }