private static bool HasActiveSave(string action) { if (SaveMaster.GetActiveSlot() == -1) { Debug.LogWarning(string.Format("{0} Failed: no save slot set. Please call SetSaveSlot(int index)", action)); return(false); } else { return(true); } }