Skip to content

Commit 17c37dc

Browse files
committed
fix a bug in GComponent.GetChildByPath
1 parent 936cdb0 commit 17c37dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/UI/GComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public GObject GetChildByPath(string path)
415415

416416
if (i != cnt - 1)
417417
{
418-
if (!(gcom is GComponent))
418+
if (!(obj is GComponent))
419419
{
420420
obj = null;
421421
break;

0 commit comments

Comments
 (0)