Skip to content
Jack Brookes edited this page Oct 31, 2020 · 1 revision

UXF.FileSaver

Component which manages File I/O in a seperate thread to avoid hitches.


Fields

verboseDebug: Enable to print debug messages to the console.

doNothing: An action which does nothing.

Properties

None

Methods

UXF.FileSaver.SetUp()

Starts the FileIOManager Worker thread.

Parameters

None

UXF.FileSaver.ManageInWorker(System.Action)

Adds a new command to a queue which is executed in a separate worker thread when it is available. Warning: The Unity Engine API is not thread safe, so do not attempt to put any Unity commands here.

Parameters

  • action:

UXF.FileSaver.CheckIfRiskOfOverwrite(string, string, int, string)

Returns true if there may be a risk of overwriting data.

Parameters

  • experiment:

  • ppid:

  • sessionNum:

UXF.FileSaver.CleanUp()

Aborts the FileIOManager's thread and joins the thread to the calling thread.

Parameters

None


Note: This file was automatically generated

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally