Skip to content

Commit

Permalink
Update to Unity 6
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Oct 23, 2024
1 parent 2d8c1bc commit 64270e6
Show file tree
Hide file tree
Showing 10 changed files with 195 additions and 189 deletions.
10 changes: 3 additions & 7 deletions Assets/Scenes/MainMenu.unity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Scripts/Cgs/Play/Multiplayer/CgsNetPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ private void RestartServerRpc()
die.MyNetworkObject.Despawn();
foreach (var token in PlayController.Instance.playAreaCardZone.GetComponentsInChildren<Token>())
token.MyNetworkObject.Despawn();
foreach (var player in FindObjectsOfType<CgsNetPlayer>())
foreach (var player in FindObjectsByType<CgsNetPlayer>(FindObjectsSortMode.None))
player.RestartClientRpc(player.OwnerClientRpcParams);
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Cgs/ResolutionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static int ResolutionIndex

public static void ScaleResolution()
{
foreach (var canvasScaler in FindObjectsOfType<CanvasScaler>())
foreach (var canvasScaler in FindObjectsByType<CanvasScaler>(FindObjectsSortMode.None))
canvasScaler.referenceResolution = Resolution;
}
}
Expand Down
24 changes: 12 additions & 12 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"dependencies": {
"com.davidmfinol.sfb": "https://github.com/davidmfinol/UnityStandaloneFileBrowser.git",
"com.unity.2d.sprite": "1.0.0",
"com.unity.ai.navigation": "1.1.5",
"com.unity.ide.rider": "3.0.31",
"com.unity.ai.navigation": "2.0.4",
"com.unity.ide.rider": "3.0.34",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.vscode": "1.2.5",
"com.unity.multiplayer.tools": "1.1.1",
"com.unity.netcode.gameobjects": "1.8.1",
"com.unity.multiplayer.center": "1.0.0",
"com.unity.multiplayer.tools": "2.2.1",
"com.unity.netcode.gameobjects": "2.0.0",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.services.lobby": "1.2.1",
"com.unity.services.relay": "1.0.5",
"com.unity.test-framework": "1.3.0",
"com.unity.testtools.codecoverage": "1.2.5",
"com.unity.textmeshpro": "3.0.9",
"com.unity.toolchain.linux-x86_64": "2.0.9",
"com.unity.ugui": "1.0.0",
"com.unity.services.lobby": "1.2.2",
"com.unity.services.relay": "1.1.1",
"com.unity.test-framework": "1.4.5",
"com.unity.testtools.codecoverage": "1.2.6",
"com.unity.toolchain.linux-x86_64": "2.0.10",
"com.unity.ugui": "2.0.0",
"com.unitynative.sharing": "https://github.com/davidmfinol/Unity-Native-Sharing.git",
"com.yasirkula.nativefilepicker": "https://github.com/yasirkula/UnityNativeFilePicker.git",
"com.yasirkula.nativegallery": "https://github.com/yasirkula/UnityNativeGallery.git",
"com.yasirkula.nativeshare": "https://github.com/yasirkula/UnityNativeShare.git",
"com.yasirkula.simplefilebrowser": "https://github.com/yasirkula/UnitySimpleFileBrowser.git",
"com.unity.modules.accessibility": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
Expand Down
Loading

0 comments on commit 64270e6

Please sign in to comment.