Tag: Unity
All the articles with the tag "Unity".
You Can't Remove an Anonymous Function — But Not Because It's Anonymous
A 2022 post on registering events with Action. The behavior descriptions are accurate, but the comment 'anonymous functions can't be removed' hides the reason. What blocks removal isn't anonymity — it's not holding the same instance.
Unload(false) Doesn't Unload the Instances
Notes from the Unite Seoul 2025 optimization session. I cross-checked some twenty items against the docs one by one. Most hold up; five don't. The most dangerous is AssetBundle.Unload, whose two parameter cases are swapped.
An Outline Is Duplicated Vertices, Not a Shader
I clipped the Outline component doc and it's the Unity 5.3 edition. Yet the wording is nearly identical to the current page. It wasn't updated — which is why Use Graphic Alpha's description still contradicts the property's own name.
Create an asmdef and Assembly-CSharp Goes Dark
I clipped the assembly definition files doc and it's the 2017.4 edition. Its account of one-directional dependency is right, but it never says the reverse direction is forbidden. That's the actual reason behind the 'all scripts or none' recommendation.