#UnityTips
Insider Ed. 14 of 25 by @AdamMyhre1Use Shader.PropertyToID(„_MyProp“) and Animator.StringToHash(„Run“) to cache IDs.
It avoids repeated managed-to-native calls and internal string lookups, improving performance in hot paths. Store the result and reuse it.#gamedev pic.twitter.com/6cEYLhBKZ9
— Binary Impact (@BinaryImpactG) January 13, 2026