public static void Load() { if (!PlayerPrefs.HasKey("SlideId")) { return; } Instantiator.GetInstance()._currentSlideId = PlayerPrefs.GetInt("SlideId"); }
public static void Save() { PlayerPrefs.SetInt("SlideId", Instantiator.GetInstance()._currentSlideId); }
void InstantiateNewSlide() { Instantiator.GetInstance().InstantiateSlide(); }