File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -274,8 +274,12 @@ public override void OnInspectorGUI()
274
274
EditorGUILayout . PropertyField ( maxReceiveEventsPerTickRateProperty ) ;
275
275
EditorGUILayout . PropertyField ( sendTickrateProperty ) ;
276
276
EditorGUILayout . PropertyField ( eventTickrateProperty ) ;
277
- EditorGUILayout . PropertyField ( maxBehaviourUpdatesPerTickProperty ) ;
278
277
EditorGUILayout . PropertyField ( enableNetworkedVarProperty ) ;
278
+
279
+ using ( new EditorGUI . DisabledScope ( ! networkingManager . NetworkConfig . EnableNetworkedVar ) )
280
+ {
281
+ EditorGUILayout . PropertyField ( maxBehaviourUpdatesPerTickProperty ) ;
282
+ }
279
283
280
284
EditorGUILayout . LabelField ( "Connection" , EditorStyles . boldLabel ) ;
281
285
EditorGUILayout . PropertyField ( connectionApprovalProperty ) ;
You can’t perform that action at this time.
0 commit comments