4
votes
Accepted
How to clean up list entries when objects are destroyed in Unity?
The best way that I came up with is, according to the observer pattern, to notify all classes where the object was stored about its destruction and remove references to it from there.
That's what I ...
2
votes
Why is my enemy in unity 2d not moving?
Use formatted text instead of an image.
In the OnEnable() and OnDisable() functions, you used ...
1
vote
Getting smallest possible build filesize on Win build (other than optimizing assets)
Without changing any build settings and fully empty projects, a minor increase in the game engine can result already in a bigger build size due to new features, bugfixes or other automatically ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
unity × 16182c# × 5563
2d × 1099
shaders × 669
physics × 665
animation × 653
collision-detection × 518
android × 475
rotation × 456
camera × 450
gui × 427
3d × 392
movement × 335
sprites × 330
textures × 297
unityscript × 296
rigidbody × 245
lighting × 237
raycasting × 235
mathematics × 234
input × 231
blender × 228
rendering × 222
gameobject × 202
transformation × 191