SaveHandler.FileExists C# (CSharp) Method

FileExists() public static method

public static FileExists ( int index ) : bool
index int
return bool
    public static bool FileExists(int index)
    {
        bool exists = false;
        if(DataHolder.LoadSaveHUD().IsPlayerPrefs() || Application.isWebPlayer)
        {
            exists = PlayerPrefs.HasKey(SaveHandler.GetFileName(index));
        }
        else if(DataHolder.LoadSaveHUD().IsFile())
        {
            exists = File.Exists(Application.persistentDataPath+"/"+SaveHandler.GetFileName(index)+".save");
        }
        return exists;
    }

Same methods

SaveHandler::FileExists ( ) : bool