Beispiel #1
0
    private void OnEnable()
    {
        LaTempransaData tempransa = SaveCards.LoadLaTempransa();

        cardName  = tempransa.cardName;
        stateCard = tempransa.cardState;
    }
Beispiel #2
0
    // Start is called before the first frame update
    void Start()
    {
        SacerdotessaData sacerdotessa = SaveCards.LoadSacerdotessa();
        ElDiableData     elDiable     = SaveCards.LoadEldiable();
        LaLlunaData      laLluna      = SaveCards.LoadLaLluna();
        LaTempransaData  laTempransa  = SaveCards.LoadLaTempransa();

        CartesList sacerd = new CartesList();

        sacerd.cardName  = sacerdotessa.cardName;
        sacerd.cardState = sacerdotessa.cardState;

        CartesList diable = new CartesList();

        diable.cardName  = elDiable.cardName;
        diable.cardState = elDiable.cardState;

        CartesList lluna = new CartesList();

        lluna.cardName  = laLluna.cardName;
        lluna.cardState = laLluna.cardState;

        CartesList tempransa = new CartesList();

        tempransa.cardName  = laTempransa.cardName;
        tempransa.cardState = laTempransa.cardState;

        cartesList.Add(diable);
        cartesList.Add(sacerd);
        cartesList.Add(lluna);
        cartesList.Add(tempransa);
    }