public static MoreAppsMaster Init(string xmlURL)
    {
        GameObject     go     = new GameObject();
        MoreAppsMaster master = go.AddComponent <MoreAppsMaster>();

        master.url             = xmlURL;
        master.gameObject.name = "MoreApps";
        return(master);
    }
 public static void SimpleShow(string xmlURL)
 {
     if (MoreAppsMaster.Instance == null)
     {
         GameObject     go     = new GameObject();
         MoreAppsMaster master = go.AddComponent <MoreAppsMaster>();
         master.url              = xmlURL;
         master.gameObject.name  = "MoreApps";
         master.showAfterLoad    = true;
         MoreAppsMaster.Instance = master;
     }
     else
     {
         MoreAppsMaster.Instance.Show();
     }
 }
Esempio n. 3
0
 void Start()
 {
     moreAppsScreen = MoreAppsMaster.Init("http://bartoszswiety.com/MoreApps.xml");
 }
Esempio n. 4
0
 public void ShowMoreApps()
 {
     MoreAppsMaster.SimpleShow("http://bartoszswiety.com/MoreApps.xml");
     //MoreAppsScreen.Show ();
 }