Exemple #1
0
    private void OnEnable()
    {
        LaLlunaData lluna = SaveCards.LoadLaLluna();

        cardName  = lluna.cardName;
        stateCard = lluna.cardState;
    }
Exemple #2
0
    private void OnEnable()
    {
        LaTempransaData tempransa = SaveCards.LoadLaTempransa();

        cardName  = tempransa.cardName;
        stateCard = tempransa.cardState;
    }
Exemple #3
0
    private void OnEnable()
    {
        SacerdotessaData sacerdotessa = SaveCards.LoadSacerdotessa();

        cardName  = sacerdotessa.cardName;
        stateCard = sacerdotessa.cardState;
    }
Exemple #4
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);
    }
Exemple #5
0
    private void OnEnable()
    {
        ElDiableData elDiable = SaveCards.LoadEldiable();

        cardName  = elDiable.cardName;
        stateCard = elDiable.cardState;
    }
Exemple #6
0
 private void OnDisable()
 {
     SaveCards.SaveLaTempransa(this);
 }
Exemple #7
0
 public void EraseJson()
 {
     SaveCards.SaveLaTempransa(this);
 }
Exemple #8
0
 private void OnDisable()
 {
     SaveCards.SaveLaLluna(this);
 }
Exemple #9
0
 public void EraseJson()
 {
     SaveCards.SaveLaLluna(this);
 }
Exemple #10
0
 private void OnDisable()
 {
     SaveCards.SaveSacerdotessa(this);
 }
Exemple #11
0
 public void EraseJson()
 {
     SaveCards.SaveSacerdotessa(this);
 }
Exemple #12
0
 private void OnDisable()
 {
     SaveCards.SaveEldiable(this);
 }
Exemple #13
0
 public void EraseJson()
 {
     SaveCards.SaveEldiable(this);
 }