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
Vladimir edited this page Dec 18, 2018
·
3 revisions
Accessing properties of Unity components results in unnecessary native to managed indirection and method call overhead. Cache result on first access, manipulate and apply once for saving performance.
This inspection will highlight repetitive property access and provide quick fix (Alt+Enter) which will cache result on first access into local variable, replace all usage of first access and apply result for property.
History:
This inspection was first added in Rider/ReSharper 2018.3