You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MLAPI/Data/NetworkConfig.cs
+11-45Lines changed: 11 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public class NetworkConfig
60
60
/// </summary>
61
61
[SerializeField]
62
62
[HideInInspector]
63
-
internalstringPlayerPrefabName;
63
+
internalulongPlayerPrefabHash;
64
64
/// <summary>
65
65
/// The size of the receive message buffer. This is the max message size including any MLAPI overheads.
66
66
/// </summary>
@@ -111,10 +111,6 @@ public class NetworkConfig
111
111
/// </summary>
112
112
publicintSecondsHistory=5;
113
113
/// <summary>
114
-
/// Wheter or not to enable scene switching
115
-
/// </summary>
116
-
publicboolEnableSceneSwitching=true;
117
-
/// <summary>
118
114
/// If your logic uses the NetworkedTime, this should probably be turned off. If however it's needed to maximize accuracy, this is recommended to be turned on
119
115
/// </summary>
120
116
publicboolEnableTimeResync=false;
@@ -123,6 +119,11 @@ public class NetworkConfig
123
119
/// If you dynamically add prefabs at runtime, turn this OFF
124
120
/// </summary>
125
121
publicboolForceSamePrefabs=true;
122
+
123
+
// TODO: XML
124
+
// If true, replace on spawn
125
+
// Else, cross find
126
+
publicboolUsePrefabSync=false;
126
127
/// <summary>
127
128
/// Decides how many bytes to use for Rpc messaging. Leave this to 2 bytes unless you are facing hash collisions
0 commit comments