Key Changes in v1.0.6:
======================
1. Added static readonly arrays at class level to reduce memory allocations:
2. Optimized layer masks by making them static readonly:
- terrainLayerMask for obstacle detection
- waterLayerMask for water detection
3. Improved performance in key methods