Compare commits
2 Commits
9e40445efa
...
556e95d2e9
| Author | SHA1 | Date | |
|---|---|---|---|
| 556e95d2e9 | |||
| 0cc6584917 |
File diff suppressed because one or more lines are too long
@ -25,7 +25,7 @@ public class SetFalse : MonoBehaviour
|
||||
foreach (Transform child in parent)
|
||||
{
|
||||
// 隐藏当前子物体
|
||||
child.gameObject.SetActive(false);
|
||||
child.gameObject.SetActive(true);
|
||||
// 递归调用以处理子物体的子物体
|
||||
HideChildrenRecursively(child);
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user