We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9af8fc commit cf16315Copy full SHA for cf16315
MLAPI-Editor/NetworkingManagerEditor.cs
@@ -283,7 +283,11 @@ public override void OnInspectorGUI()
283
}
284
285
EditorGUILayout.PropertyField(enableTimeResyncProperty);
286
- EditorGUILayout.PropertyField(timeResyncIntervalProperty);
+
287
+ using (new EditorGUI.DisabledScope(!networkingManager.NetworkConfig.EnableTimeResync))
288
+ {
289
+ EditorGUILayout.PropertyField(timeResyncIntervalProperty);
290
+ }
291
292
EditorGUILayout.LabelField("Performance", EditorStyles.boldLabel);
293
EditorGUILayout.PropertyField(receiveTickrateProperty);
0 commit comments