diff --git a/UnityTests/SaveTest.cs b/UnityTests/SaveTest.cs deleted file mode 100644 index 0b15ade..0000000 --- a/UnityTests/SaveTest.cs +++ /dev/null @@ -1,36 +0,0 @@ -using UnitySaveSystem; -using UnityEngine; - -public class SaveTest : MonoBehaviour -{ - private SaveFile _save; - - private void Awake() - { - _save = new SaveFile(@"C:\Save\Save1"); - } - - private void Update() - { - if (Input.GetKeyDown(KeyCode.Z)) - { - Save(); - } - if (Input.GetKeyDown(KeyCode.X)) - { - Load(); - } - } - - [SerializeField] SaveTestData saveData; - - public void Save() - { - _save.SaveClass(saveData); - } - - public void Load() - { - saveData = _save.LoadClass(); - } -} diff --git a/UnityTests/SaveTestData.cs b/UnityTests/SaveTestData.cs deleted file mode 100644 index c4bfb03..0000000 --- a/UnityTests/SaveTestData.cs +++ /dev/null @@ -1,7 +0,0 @@ -using System; - -[Serializable] -public class SaveTestData -{ - public int TestField1; -}