public void Start() { //When the canvas starts up load information about the save files Achievement_data data = Achievement_Sava.AchievementLoad(); isWinAchievement1 = data.framevalue1; isWinAchievement2 = data.framevalue2; isWinAchievement3 = data.framevalue3; }
public void SaveAchievementInfo() //a method that will be append to the exit button to save info when leaving the game. { Achievement_Sava.AchievementSave(this); }