Cache all the things. You'll understand why after you get months into your project.https://twitter.com/arturonereu/status/1272876584404303872 …
-
-
Antwort an @Pyramid_Lake
I've just downloaded a decent asset store package, but they are using getcomponent to find rigidbody and joints etc during update loops!
1 Antwort 0 Retweets 0 Gefällt mir -
Antwort an @chrisoshea
It seems like such a simple thing but I bet a lot don't realize the need to cache. I'd be really curious what the difference is as a baseline with GetComponent versus cached.
1 Antwort 0 Retweets 0 Gefällt mir -
Antwort an @Pyramid_Lake
I've just started trying out the Rider IDE and it actually flags if you do expensive operations in your code https://github.com/JetBrains/resharper-unity/wiki/Performance-critical-context-and-costly-methods …
1 Antwort 0 Retweets 1 Gefällt mir
Oh interesting. Let me know what you think about it after you spend some time with it. That and showing the color swatch on hover, etc could be really helpful.
Das Laden scheint etwas zu dauern.
Twitter ist möglicherweise überlastet oder hat einen vorübergehenden Schluckauf. Probiere es erneut oder besuche Twitter Status für weitere Informationen.