Skip to content

OnlyWorlds Unity SDK 0.3.0

Choose a tag to compare

@tmoosting tmoosting released this 08 Oct 21:02
· 100 commits to main since this release

All 22 OnlyWorlds element types as typed C# models, generated from the schema distribution.

  • Models for every element type, generated by codegen/generate_models.py; codegen/check_drift.py fails when a committed model no longer matches a fresh generation.
  • OWFolderWriter: writes a world folder to disk in the bytes the folder format specifies (LF, UTF-8 without a BOM, two-space indent, keys in their original order), so the same world writes the same files on every machine. OWFolderWriter.Parse reads JSON without rewriting timestamps.
  • OWElement.CreatedBy: who created an element on a shared world.
  • Writes now send "" for an unset string field, matching the API.

Install from the Package Manager with + → Add package from git URL:

https://github.com/OnlyWorlds/unity-sdk.git?path=/Packages/com.onlyworlds.sdk#v0.3.0

Full list: CHANGELOG.