mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
readonly
This commit is contained in:
parent
1ede4896d5
commit
f1ec677baf
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user