Tag: Unity
All the articles with the tag "Unity".
What Sits Between started and performed Is the Press Threshold
The author of an Input System walkthrough left a question unanswered: why do started and performed behave identically? The answer isn't a frame, it's two thresholds — and the page that documents them contradicts itself in the same entry.
It Recommends Snapshots, and Its Code Takes Them Away
A 2023 write-up of the Audio Mixer setup procedure. It lists snapshots as a reason to use the mixer, and the code right after permanently takes those three parameters out of snapshot control. The docs say so in one line.
await Awaitable Has No Value to Assign
A 2025 introduction to Awaitable. The constraints it points out still hold, but the two lines demonstrating them don't compile. And two of the features it wishes for are documented members.
1 << -1 Isn't an Error, It's Layer 31
A 2022 post on scanning the surroundings with OverlapSphere. Fetching the layer by name is the right move, but the value then gets shifted by hand. When NameToLayer returns -1, that expression points at layer 31 instead of throwing.