Skip to content

Commit eaa49a4

Browse files
committed
chore: fix warnings
1 parent c1ca714 commit eaa49a4

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

Assets/JCSUnity/Scripts/Util/JCS_Util.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ public static string RemoveCloneString(string name)
720720
public static T FindObjectByType<T>()
721721
where T : Object
722722
{
723-
return Object.FindFirstObjectByType<T>();
723+
return Object.FindAnyObjectByType<T>();
724724
}
725725
public static T FindObjectByType<T>(Scene scene)
726726
where T : Object
@@ -739,9 +739,7 @@ public static T FindObjectByType<T>(Scene scene)
739739
public static T[] FindObjectsByType<T>()
740740
where T : Object
741741
{
742-
return Object.FindObjectsByType<T>(
743-
FindObjectsInactive.Include,
744-
FindObjectsSortMode.None);
742+
return Object.FindObjectsByType<T>(FindObjectsInactive.Include);
745743
}
746744
public static T[] FindObjectsByType<T>(Scene scene)
747745
where T : Object

Packages/manifest.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"com.unity.ai.navigation": "2.0.11",
3+
"com.unity.ai.navigation": "2.0.12",
44
"com.unity.collab-proxy": "2.11.4",
55
"com.unity.ide.rider": "3.0.39",
66
"com.unity.ide.visualstudio": "2.0.27",
@@ -11,10 +11,9 @@
1111
"com.unity.test-framework": "1.6.0",
1212
"com.unity.timeline": "1.8.11",
1313
"com.unity.ugui": "2.0.0",
14-
"com.unity.visualscripting": "1.9.10",
14+
"com.unity.visualscripting": "1.9.11",
1515
"com.unity.modules.accessibility": "1.0.0",
1616
"com.unity.modules.adaptiveperformance": "1.0.0",
17-
"com.unity.modules.ai": "1.0.0",
1817
"com.unity.modules.androidjni": "1.0.0",
1918
"com.unity.modules.animation": "1.0.0",
2019
"com.unity.modules.assetbundle": "1.0.0",

Packages/packages-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
33
"com.unity.ai.navigation": {
4-
"version": "2.0.11",
4+
"version": "2.0.12",
55
"depth": 0,
66
"source": "registry",
77
"dependencies": {
@@ -180,7 +180,7 @@
180180
}
181181
},
182182
"com.unity.visualscripting": {
183-
"version": "1.9.10",
183+
"version": "1.9.11",
184184
"depth": 0,
185185
"source": "registry",
186186
"dependencies": {
@@ -205,7 +205,7 @@
205205
},
206206
"com.unity.modules.ai": {
207207
"version": "1.0.0",
208-
"depth": 0,
208+
"depth": 1,
209209
"source": "builtin",
210210
"dependencies": {}
211211
},

0 commit comments

Comments
 (0)