суббота, марта 05, 2016

Tools library for unity3d: auto caching for transform property

Common.MonoBehaviourBase class provides 2 optimizations for access to component transform:

  • Standard "transform" property 2-2.5x faster than with standard component.
  • Internal _cachedTransform field for all inherited classes with additional 2x performance boost relative to already boosted "transform" property.
Repo url same: https://github.com/Leopotam/LeopotamGroupLibraryUnity

Комментариев нет: