Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
Fixed unity events not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek-R-S committed May 18, 2021
1 parent b880820 commit 5f0b40d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions UnityProject/Assets/LRMFunctionTester.unity
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
clientToServerTransport: {fileID: 978065553}
serverIP: 127.0.0.1
serverPort: 7777
endpointServerPort: 8080
heartBeatInterval: 3
connectOnAwake: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ public override void OnInspectorGUI()
EditorUtility.SetDirty(lrm);
}
}
serializedObject.ApplyModifiedProperties();
break;
case 1:
// NAT punch tab.
Expand All @@ -273,6 +274,7 @@ public override void OnInspectorGUI()
GUI.enabled = true;
directModule.directConnectTransport = (Transport)EditorGUILayout.ObjectField("Direct Transport", directModule.directConnectTransport, typeof(Transport), true);
}
serializedObject.ApplyModifiedProperties();
break;
case 2:
// Load balancer tab
Expand All @@ -284,7 +286,7 @@ public override void OnInspectorGUI()
lrm.region = (LRMRegions)EditorGUILayout.EnumPopup("Node Region", lrm.region);
if (!lrm.useLoadBalancer)
GUI.enabled = true;

serializedObject.ApplyModifiedProperties();
break;
case 3:
// Other tab...
Expand All @@ -305,6 +307,7 @@ public override void OnInspectorGUI()
EditorGUILayout.Space();
EditorGUILayout.PropertyField(serializedObject.FindProperty("diconnectedFromRelay"));
EditorGUILayout.PropertyField(serializedObject.FindProperty("serverListUpdated"));
serializedObject.ApplyModifiedProperties();
break;
}
EditorGUILayout.EndVertical();
Expand Down

0 comments on commit 5f0b40d

Please sign in to comment.