We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f67ac6f commit 661fe58Copy full SHA for 661fe58
1 file changed
src/Utilities/PlayerPickMenu.cs
@@ -27,10 +27,9 @@ public static void openPlayerPickMenu(List<NetworkedPlayerInfo> playerList, Il2C
27
customAction = action;
28
29
//The menu is based off the shapeshifting menu
30
- playerpickMenu = Object.Instantiate(getShapeshifterMenu());
31
-
32
- playerpickMenu.transform.SetParent(Camera.main.transform, false);
33
- playerpickMenu.transform.localPosition = new Vector3(0f, 0f, -50f);
+ playerpickMenu = Object.Instantiate(getShapeshifterMenu(), Camera.main.transform, false);
+
+ playerpickMenu.transform.localPosition = new Vector3(0f, 0f, -50f);
34
playerpickMenu.Begin(null);
35
}
36
@@ -49,4 +48,4 @@ public static NetworkedPlayerInfo customPPMChoice(string name, NetworkedPlayerIn
49
48
50
return customChoice;
51
52
-}
+}
0 commit comments