Exemple #1
0
    void Start()
    {
#if UNITY_ANDROID
        TextoArrayApps = "" + OSHookBridge.ReturnList();
        ArrayApp       = TextoArrayApps.Split(new string[] { "," }, StringSplitOptions.None);
#endif
        for (int i = 0; i < series.Length; i++)
        {
            var NewPagina = Instantiate(Hijo_series) as GameObject;
            NewPagina.transform.SetParent(Padre_series, false);
            NewPagina.SetActive(true);
            NewPagina.GetComponent <serie>().Name     = series[i].Serie_nombre;
            NewPagina.GetComponent <serie>().Imagen   = series[i].Serie_icono;
            NewPagina.GetComponent <serie>().Cantidad = "" + series[i].Apps.Length;
        }
    }