Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Matrix4x4.rotation and Quaternion.eulerAngles are, somewhat confusingly, not fields but relatively costly property accessors. When rendering many pawns, repeated calls to them can have a measurable impact, so store the result in a local variable and reuse it.
- Loading branch information