{"id":20934556,"url":"https://github.com/thisisgame/autohidegridlayoutgroup","last_synced_at":"2025-10-05T21:37:24.995Z","repository":{"id":106841423,"uuid":"60227068","full_name":"ThisisGame/AutoHideGridLayoutGroup","owner":"ThisisGame","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-04T12:02:27.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T02:41:10.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThisisGame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-02T02:44:20.000Z","updated_at":"2016-06-02T13:52:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddd3ca80-5dcb-4b87-bf79-81ba801f46c8","html_url":"https://github.com/ThisisGame/AutoHideGridLayoutGroup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThisisGame/AutoHideGridLayoutGroup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2FAutoHideGridLayoutGroup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2FAutoHideGridLayoutGroup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2FAutoHideGridLayoutGroup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2FAutoHideGridLayoutGroup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThisisGame","download_url":"https://codeload.github.com/ThisisGame/AutoHideGridLayoutGroup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2FAutoHideGridLayoutGroup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278526237,"owners_count":26001325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T22:09:46.389Z","updated_at":"2025-10-05T21:37:24.967Z","avatar_url":"https://github.com/ThisisGame.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoHideGridLayoutGroup\n\n判断一个GameObject是否在 ScrollRect范围内，通过回调 OnScroll ，bool 参数表示是否在ScrollRect范围内。\n\n\n\n如果不在范围内表示这个GameObject可以做SetActive false 处理，减少顶点 push 以及渲染。\n\n注意\n\nUnity SetActive 是没有内部判断的。\n\n就是说，如果这个GameObject 当前  是active 的，我们再次调用 SetActive(true) ，仍然会去执行 SetActive 的操作，SetActive\n\n这个操作是很耗时的！\n\n\n所以在对一个GameObject 进行 SetActive 的时候，如果当前状态已经是目标状态，就请跳过。\n\nif(child.activeSelf ==  show) return;\n\n\n异步创建的支持，请查看 Tutorials/testAsync.cs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisgame%2Fautohidegridlayoutgroup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisisgame%2Fautohidegridlayoutgroup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisgame%2Fautohidegridlayoutgroup/lists"}