This commit is contained in:
mischa 2024-10-19 17:31:25 +02:00
parent 1ede4896d5
commit f1ec677baf

View File

@ -125,7 +125,7 @@ public class NetworkTransformHybrid2022 : NetworkBehaviour
float scalePrecisionSqr;
// dedicated writer to avoid Pool.Get calls. NT is in hot path.
NetworkWriter writer = new NetworkWriter();
readonly NetworkWriter writer = new NetworkWriter();
// initialization //////////////////////////////////////////////////////
// make sure to call this when inheriting too!