This commit is contained in:
2025-05-13 05:12:44 +03:00
parent 235216efe2
commit fb64cf1186
22 changed files with 476 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Collections;
public class Utils {
public static GameObject FindChildRecursive(GameObject obj, string name){
var child = obj.transform.FindChild (name);
var child = obj.transform.Find (name);
if (child != null) {
return child.gameObject;
}