예제 #1
0
 public void LoadAlba(Backgroud itemAlba)
 {
     itemAlba.moneyForSec = PlayerPrefs.GetInt("moneyForSec ", 2);
     itemAlba.alba1       = PlayerPrefs.GetInt("alba1 ", 0);
     itemAlba.alba2       = PlayerPrefs.GetInt("alba2 ", 0);
     itemAlba.alba3       = PlayerPrefs.GetInt("alba3 ", 0);
     itemAlba.alba4       = PlayerPrefs.GetInt("alba4 ", 0);
 }
예제 #2
0
 public void SaveAlba(Backgroud itemAlba)
 {
     PlayerPrefs.SetInt("moneyForSec ", itemAlba.moneyForSec);
     PlayerPrefs.SetInt("alba1 ", itemAlba.alba1);
     PlayerPrefs.SetInt("alba2 ", itemAlba.alba2);
     PlayerPrefs.SetInt("alba3 ", itemAlba.alba3);
     PlayerPrefs.SetInt("alba4 ", itemAlba.alba4);
 }
예제 #3
0
 private void RefreshPictureBox()
 {
     pictureBox.Image = (Image)Backgroud.Clone();
     OperaStep.DrawOperation();
 }