private void LoadSaveThree() { if (File.Exists(Application.persistentDataPath + "/shot3.save")) { ShotData3 shotdata = SaveSystemShot3.LoadShots(); EquippedShots = shotdata.Shots3; } }
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; } }