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()
274274 EditorGUILayout . PropertyField ( maxReceiveEventsPerTickRateProperty ) ;
275275 EditorGUILayout . PropertyField ( sendTickrateProperty ) ;
276276 EditorGUILayout . PropertyField ( eventTickrateProperty ) ;
277- EditorGUILayout . PropertyField ( maxBehaviourUpdatesPerTickProperty ) ;
278277 EditorGUILayout . PropertyField ( enableNetworkedVarProperty ) ;
278+
279+ using ( new EditorGUI . DisabledScope ( ! networkingManager . NetworkConfig . EnableNetworkedVar ) )
280+ {
281+ EditorGUILayout . PropertyField ( maxBehaviourUpdatesPerTickProperty ) ;
282+ }
279283
280284 EditorGUILayout . LabelField ( "Connection" , EditorStyles . boldLabel ) ;
281285 EditorGUILayout . PropertyField ( connectionApprovalProperty ) ;
You can’t perform that action at this time.
0 commit comments