using System.Collections; using System.Collections.Generic; using UnityEngine; public class SLTest : MonoBehaviour { private string DAILY_ID = "GLOBAL_LB"; [SerializeField] private PlayerInfo _lb; // Update is called once per frame void Update() { if(Input.GetKeyDown(KeyCode.L)) SaveLoadController.Instance.LoadOld(ref _lb, DAILY_ID); if (Input.GetKeyDown(KeyCode.S)) SaveLoadController.Instance.Save(_lb, DAILY_ID); } }