We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01df746 commit af3d032Copy full SHA for af3d032
1 file changed
MLAPI-Editor/NetworkingManagerEditor.cs
@@ -274,8 +274,12 @@ public override void OnInspectorGUI()
274
EditorGUILayout.PropertyField(maxReceiveEventsPerTickRateProperty);
275
EditorGUILayout.PropertyField(sendTickrateProperty);
276
EditorGUILayout.PropertyField(eventTickrateProperty);
277
- EditorGUILayout.PropertyField(maxBehaviourUpdatesPerTickProperty);
278
EditorGUILayout.PropertyField(enableNetworkedVarProperty);
+
279
+ using (new EditorGUI.DisabledScope(!networkingManager.NetworkConfig.EnableNetworkedVar))
280
+ {
281
+ EditorGUILayout.PropertyField(maxBehaviourUpdatesPerTickProperty);
282
+ }
283
284
EditorGUILayout.LabelField("Connection", EditorStyles.boldLabel);
285
EditorGUILayout.PropertyField(connectionApprovalProperty);
0 commit comments