/// <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); }
/// <summary>Checks for the existence of a file.</summary> public static void GetFileExists(string pathRelative, GetFileExistsCallback callback) { UserDataStorage.PLATFORM_IO.GetFileExists(pathRelative, callback); }
/// <summary>Checks for the existence of a file.</summary> public static void GetFileExists(string path, GetFileExistsCallback onComplete) { DataStorage.PLATFORM_IO.GetFileExists(path, onComplete); }