We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 362235f commit 1aae788Copy full SHA for 1aae788
README.md
@@ -56,6 +56,23 @@ result // UIText component
56
57
var result = UQuery.SelectByPath<GameObject>("Canvas>Layout>ButtonGroup");
58
result // GameObject 'ButtonGroup'
59
+
60
+/*
61
+%root% |
62
+ - Canvas |
63
+ - Layout |
64
+ - Header |
65
+ - Title1
66
67
+ - Title2
68
69
+ - Title3
70
71
+ - Title4
72
+*/
73
74
+var result = UQuery.SelectByPath<UIText>("Canvas>Layout>Header:(2)>Title3");
75
+result // GameObject 'Title3'
76
```
77
78
@@ -70,3 +87,4 @@ result // GameObject 'ButtonGroup'
87
- [ ] Strong validation path format
88
- [x] Additional exceptions types
89
- [ ] Query cache system
90
+- [x] Access child (same names) by index
0 commit comments