private void LoadSaveTwo() { if (File.Exists(Application.persistentDataPath + "/shot2.save")) { ShotData2 shotdata = SaveSystemShot2.LoadShots(); EquippedShots = shotdata.Shots2; } else { return; } }
public void SaveShot() { Debug.Log("SavedShots"); Debug.Log(EquippedShots); switch (SaveSlots) { case 1: SaveSystemShot1.SaveShots1(this); break; case 2: SaveSystemShot2.SaveShots2(this); break; case 3: SaveSystemShot3.SaveShots3(this); break; default: Debug.LogError("Save Not Working"); break; } }