You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performing equality on GameObject.Tag is expensive. It should call CompareTag instead. Add an inspection for gameObject.Tag == "whatever", set to Warning level, and convert to gameObject.CompareTag("whatever").
(This might even be possible with an SSR pattern in a settings file)
The text was updated successfully, but these errors were encountered:
Performing equality on
GameObject.Tag
is expensive. It should callCompareTag
instead. Add an inspection forgameObject.Tag == "whatever"
, set to Warning level, and convert togameObject.CompareTag("whatever")
.(This might even be possible with an SSR pattern in a settings file)
The text was updated successfully, but these errors were encountered: