Optimize berry handling

This commit is contained in:
Lncvrt committed 2026-03-08 12:35:37 -07:00
1 parent 167076aaa5
commit bb2ac7a2c5
5 files changed
+77 -31

No files matched your search

-8
View File
@@ -166,12 +166,4 @@ public static class Tools {
BazookaManager.Instance.GetAccountID() ?? 0
);
}
public static GameObject[] GetAllBerries(Transform berryParent) {
GameObject[] children = new GameObject[berryParent.childCount];
for (int i = 0; i < berryParent.childCount; i++) {
children[i] = berryParent.GetChild(i).gameObject;
}
return children;
}
}