Skip to content

Commit

Permalink
feat: Refactor file paths for ExperimentLibrary inputs and outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyap53 committed Sep 24, 2024
1 parent 0c6c250 commit 611a09e
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 108 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Changed

- **Breaking change**: Refactor file paths for ExperimentLibrary - Use inputs and outputs

## [2.4.1] - 2024-09-18

### Fixed
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ExperimentInputs
/// <returns>The path to the inputs folder.</returns>
public static string GetInputsFolder()
{
return Path.Combine(@"" + Application.dataPath, "Inputs");
return Path.Combine(@"" + Application.streamingAssetsPath, "Inputs");
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ExperimentOutputs
public static string GetOutputsFolder()
{
//'@' : prevent the escaping of characters with \. Really useful for paths.
return Path.Combine(@"" + Application.dataPath, "Outputs");
return Path.Combine(@"" + Application.streamingAssetsPath, "Outputs");
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ PlayerSettings:
vulkanEnableCommandBufferRecycling: 1
loadStoreDebugModeEnabled: 0
bundleVersion: 2.4.1
preloadedAssets: []
preloadedAssets:
- {fileID: 11400000, guid: 15d447a71e269f947a8a8ed274c8b747, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
Expand Down

0 comments on commit 611a09e

Please sign in to comment.