Skip to content

Commit 875d615

Browse files
committed
Fixed NetworkingManagerEditor NetworkedPreab list serialization
1 parent 99c5a03 commit 875d615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MLAPI-Editor/NetworkingManagerEditor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ private void OnEnable()
5858

5959
EditorGUI.LabelField(new Rect(rect.x, rect.y, firstLabelWidth, EditorGUIUtility.singleLineHeight), "Prefab");
6060
EditorGUI.PropertyField(new Rect(rect.x + firstLabelWidth, rect.y, rect.width - firstLabelWidth - secondLabelWidth - secondFieldWidth - reduceFirstWidth,
61-
EditorGUIUtility.singleLineHeight), element.FindPropertyRelative("prefab"), GUIContent.none);
61+
EditorGUIUtility.singleLineHeight), element.FindPropertyRelative("Prefab"), GUIContent.none);
6262

6363
EditorGUI.LabelField(new Rect(rect.width - secondLabelWidth - secondFieldWidth, rect.y, secondLabelWidth, EditorGUIUtility.singleLineHeight), "Default Player Prefab");
6464
EditorGUI.PropertyField(new Rect(rect.width - secondFieldWidth, rect.y, secondFieldWidth,
65-
EditorGUIUtility.singleLineHeight), element.FindPropertyRelative("playerPrefab"), GUIContent.none);
65+
EditorGUIUtility.singleLineHeight), element.FindPropertyRelative("PlayerPrefab"), GUIContent.none);
6666
};
6767

6868
networkPrefabsList.drawHeaderCallback = (Rect rect) => {

0 commit comments

Comments
 (0)