Repository navigation
Release 2.2.0 - #36
Merged
Merged
Conversation
The sample added an InputSystemUIInputModule without AssignDefaultActions(), so its buttons looked interactive, received nothing, and emitted no error — a failure that survives a green compile, a green test run, and a screenshot. Its sibling sample already chains the call. The shared block now says the harness already prints the fixture count, that the post-fix observation is one re-run of the same probe, and that correcting an existing ADMIT or RCR line is itself a claim about production which must be read and re-checked. Edited identically in all six packages; Tools/lint-agent-guides.py fails if they diverge. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…lCase AGENTS.md gives private fields _camelCase, says explicitly that static fields are included, and gives private constants plain PascalCase, but nothing enforced it: this repository has no .editorconfig and the style audit gated documentation and ordering only. A hand-rolled checker in an earlier session mis-classified three of its four hits, which is what a rule with no mechanical owner costs. Renames are identifier-only; no comment prose and no string literal changed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…rvice
DataService now persists through IDataStorage. PlayerPrefsDataStorage stays
the default, so existing saves keep loading under typeof(T).Name.
- FileDataStorage writes {key}.json through a temp file and File.Replace so
an interrupted save keeps the previous value.
- BrowserLocalDataStorage uses localStorage through a WebGL-only jslib; it
throws PlatformNotSupportedException outside a WebGL player and
InvalidOperationException when the browser blocks storage.
- An optional key prefix stores data under {prefix}.{typeof(T).Name}.
- The Services Explorer Data tab reads and deletes through the bound
service's storage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eir own files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New:
DataServicenow persists through a pluggableIDataStorage(HasKey,Read,Write,Deleteby string key).new DataService()keeps usingPlayerPrefsthrough the newPlayerPrefsDataStorage, so existing saves load unchanged.FileDataStoragestores each type as a{key}.jsonfile inApplication.persistentDataPathor a directory you choose. Every write goes to a temporary file that then replaces the previous one, so an interrupted save keeps the last complete value.BrowserLocalDataStoragestores data in the browser'slocalStorage, which is keyed by page origin and survives new uploads on hosts that change the build path every upload, unlikePlayerPrefsandpersistentDataPathon WebGL. Writes are synchronous; it throws in the Editor and on other platforms instead of silently storing nothing.new DataService(storage, keyPrefix)stores each type under{keyPrefix}.{typeof(T).Name}, so separate profiles or modes keep separate saves. Without a prefix, keys staytypeof(T).Name.Changed:
PlayerPrefs.Fixed:
Docs: