Fixed unity events not working
This commit is contained in:
parent
b880820cfa
commit
5f0b40deff
2 changed files with 5 additions and 1 deletions
|
|
@ -525,6 +525,7 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
clientToServerTransport: {fileID: 978065553}
|
clientToServerTransport: {fileID: 978065553}
|
||||||
serverIP: 127.0.0.1
|
serverIP: 127.0.0.1
|
||||||
|
serverPort: 7777
|
||||||
endpointServerPort: 8080
|
endpointServerPort: 8080
|
||||||
heartBeatInterval: 3
|
heartBeatInterval: 3
|
||||||
connectOnAwake: 1
|
connectOnAwake: 1
|
||||||
|
|
|
||||||
|
|
@ -251,6 +251,7 @@ namespace LightReflectiveMirror
|
||||||
EditorUtility.SetDirty(lrm);
|
EditorUtility.SetDirty(lrm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
serializedObject.ApplyModifiedProperties();
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
// NAT punch tab.
|
// NAT punch tab.
|
||||||
|
|
@ -273,6 +274,7 @@ namespace LightReflectiveMirror
|
||||||
GUI.enabled = true;
|
GUI.enabled = true;
|
||||||
directModule.directConnectTransport = (Transport)EditorGUILayout.ObjectField("Direct Transport", directModule.directConnectTransport, typeof(Transport), true);
|
directModule.directConnectTransport = (Transport)EditorGUILayout.ObjectField("Direct Transport", directModule.directConnectTransport, typeof(Transport), true);
|
||||||
}
|
}
|
||||||
|
serializedObject.ApplyModifiedProperties();
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// Load balancer tab
|
// Load balancer tab
|
||||||
|
|
@ -284,7 +286,7 @@ namespace LightReflectiveMirror
|
||||||
lrm.region = (LRMRegions)EditorGUILayout.EnumPopup("Node Region", lrm.region);
|
lrm.region = (LRMRegions)EditorGUILayout.EnumPopup("Node Region", lrm.region);
|
||||||
if (!lrm.useLoadBalancer)
|
if (!lrm.useLoadBalancer)
|
||||||
GUI.enabled = true;
|
GUI.enabled = true;
|
||||||
|
serializedObject.ApplyModifiedProperties();
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
// Other tab...
|
// Other tab...
|
||||||
|
|
@ -305,6 +307,7 @@ namespace LightReflectiveMirror
|
||||||
EditorGUILayout.Space();
|
EditorGUILayout.Space();
|
||||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("diconnectedFromRelay"));
|
EditorGUILayout.PropertyField(serializedObject.FindProperty("diconnectedFromRelay"));
|
||||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("serverListUpdated"));
|
EditorGUILayout.PropertyField(serializedObject.FindProperty("serverListUpdated"));
|
||||||
|
serializedObject.ApplyModifiedProperties();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
EditorGUILayout.EndVertical();
|
EditorGUILayout.EndVertical();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue