Raising the assumption that i have some objects moving around in a FixedUpdate and only care if they collide with a specific object.
If this object has been set with a custom Tag, and the others had a GameObject variable holding the reference to it, in the case of a collision, what would be faster or less resource consuming:
Use CompareTag to compare the tag string or make a direct comparison using the stored GameObject reference ?
I’ve been making some profiling, but would appreciate the opinion of someone with a little more experience.