/// <summary>Checks for the existence of a file.</summary> public void GetFileExists(string relativePath, GetFileExistsCallback callback) { Debug.Assert(!string.IsNullOrEmpty(relativePath)); Debug.Assert(callback != null); string path = IOUtilities.CombinePath(this.userDir, relativePath); bool fileExists = Steamworks.SteamRemoteStorage.FileExists(path); callback.Invoke(relativePath, fileExists); }
/// <summary>Checks for the existence of a file.</summary> public void GetFileExists(string relativePath, GetFileExistsCallback callback) { Debug.Assert(!string.IsNullOrEmpty(relativePath)); Debug.Assert(callback != null); string path = IOUtilities.CombinePath(this.userDir, relativePath); bool doesExist = this.GetFileExists(path); callback.Invoke(relativePath, doesExist); }