*
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user