2
votes
Accepted
How to program era-switching in an endless runner?
A simple way you could approach this is to make each prefab contain both "versions" of itself: era 1 and era 2 as separate child objects - one enabled, one disabled. When changing eras, tell ...
2
votes
Unity HDRP custom pass stencil buffer not working in build mode
I figured it out for anyone who stumbles across this post:
In my mask buffer allocation, I have to add a depth buffer size, like so:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
c# × 8485unity × 5730
xna × 1400
2d × 485
monogame × 403
collision-detection × 333
physics × 278
xna-4.0 × 260
rotation × 242
movement × 194
camera × 188
3d × 179
mathematics × 168
animation × 161
gui × 151
input × 132
architecture × 111
vector × 108
shaders × 107
sprites × 106
transformation × 105
optimization × 102
android × 100
raycasting × 95
gameobject × 95