Question by
Tiras69 · Nov 12, 2017 at 08:19 PM ·
optimizationstringtagslanguage
is there an efficient way to compare tags in code ?
Hello Unity community !
I was wondering is there a more efficient way to compare tags in Unity without using string comparison ?
Is this method Component.CompareTag use severals internal features that's make the comparison faster ? ( I don't know how to test that and the documentation is quite quiet )
Can I try something with a custom dictionary of tags and hashes ?
Thanks in advances for your thinking.
Comment