Skip to content

Version Differences

Jimmy Cushnie edited this page Nov 12, 2019 · 5 revisions

Currently, SUCC comes in two versions: Standalone (master branch) and Unity (unity branch).

Standalone

Default Files

To use a Default File in standalone, you send the DataFile constructor a string with the complete text of the default file.

Default Path

In standalone, the Default Path is the same as System.AppContext.BaseDirectory unless you change it.

Unity

Default Files

Default Files in Unity use TextAssets. You send the DataFile constructor a string with the name of a .txt file in any folder called "Resources" inside your project's Assets folder.

Default Path

In Unity, the Default Path follows these rules unless you change it:

  • in the editor, it refers to a folder called Game next to your project's Assets folder
  • in standalone builds, it refers to the same directory as the built executable

Platform Support

SUCC for Unity supports Windows, Mac OS, and Linux builds.

Versions of SUCC before v1.1 supported WebGL, but this has been deprecated.