René's URL Explorer Experiment


Title: Added support for RectTransform by ryanmeasel · Pull Request #3 · UnityPatterns/ObjectPool · GitHub

Open Graph Title: Added support for RectTransform by ryanmeasel · Pull Request #3 · UnityPatterns/ObjectPool

X Title: Added support for RectTransform by ryanmeasel · Pull Request #3 · UnityPatterns/ObjectPool

Description: The recttransform component throws a warning (as of Unity 4.6) when you set their parent via the transform property transform.parent: "Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues." To circumvent this warning, we check if the parent has a RectTransform component and set the boolean worldPositionStays accordingly. Before calling GetComponent on the parent, the parent must be checked for existence. Doing so in this manner allows setting the parent transform without changing the local position, rotation or scale. For RectTransform, it also doesn't change the sizeDelta.

Open Graph Description: The recttransform component throws a warning (as of Unity 4.6) when you set their parent via the transform property transform.parent: "Parent of RectTransform is being set with parent proper...

X Description: The recttransform component throws a warning (as of Unity 4.6) when you set their parent via the transform property transform.parent: "Parent of RectTransform is being set with parent pr...

Opengraph URL: https://github.com/UnityPatterns/ObjectPool/pull/3

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8a055c4b-403f-a009-2d56-dd6fc531fe18
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8F4:BE79A:12C55:18DF1:6982B31B
html-safe-nonce4a15be56f2e071e506de9172db402f72104aef042e3eba58fdb075c7fba76059
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEY0OkJFNzlBOjEyQzU1OjE4REYxOjY5ODJCMzFCIiwidmlzaXRvcl9pZCI6IjY1MTAyODc3NzIzNjcxMDY4NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb3b45a1eb2a183a2835079a2619aa63453befa7b7246e711418a6127e676f7be
hovercard-subject-tagpull_request:41645412
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/UnityPatterns/ObjectPool/pull/3/files
twitter:imagehttps://avatars.githubusercontent.com/u/186849?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/186849?s=400&v=4
og:image:altThe recttransform component throws a warning (as of Unity 4.6) when you set their parent via the transform property transform.parent: "Parent of RectTransform is being set with parent proper...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec6741528aa4d4ba81c57bbff8f8cc0de0e9115cb2993431dc9dac8d489f7b4ee
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/UnityPatterns/ObjectPool git https://github.com/UnityPatterns/ObjectPool.git
octolytics-dimension-user_id5545416
octolytics-dimension-user_loginUnityPatterns
octolytics-dimension-repository_id13115287
octolytics-dimension-repository_nwoUnityPatterns/ObjectPool
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13115287
octolytics-dimension-repository_network_root_nwoUnityPatterns/ObjectPool
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec547e382acfeb1148025e943f9b5dc5a5e306b0e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FUnityPatterns%2FObjectPool%2Fpull%2F3%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FUnityPatterns%2FObjectPool%2Fpull%2F3%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=UnityPatterns%2FObjectPool
Reloadhttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Reloadhttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Reloadhttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
UnityPatterns https://patch-diff.githubusercontent.com/UnityPatterns
ObjectPoolhttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FUnityPatterns%2FObjectPool
Fork 94 https://patch-diff.githubusercontent.com/login?return_to=%2FUnityPatterns%2FObjectPool
Star 423 https://patch-diff.githubusercontent.com/login?return_to=%2FUnityPatterns%2FObjectPool
Code https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool
Issues 1 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/issues
Pull requests 4 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pulls
Actions https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/actions
Projects 0 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/projects
Wiki https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/wiki
Security 0 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/security
Insights https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pulse
Code https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool
Issues https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/issues
Pull requests https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pulls
Actions https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/actions
Projects https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/projects
Wiki https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/wiki
Security https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/security
Insights https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FUnityPatterns%2FObjectPool%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FUnityPatterns%2FObjectPool%2Fissues%2Fnew%2Fchoose
ryanmeaselhttps://patch-diff.githubusercontent.com/ryanmeasel
UnityPatterns:masterhttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/tree/master
Conversation 0 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3
Commits 1 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/commits
Checks 0 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/checks
Files changed https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Please reload this pagehttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Added support for RectTransform https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
34a9a7f Added support for RectTransform ryanmeasel Aug 5, 2015 https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/commits/34a9a7fc67bac321ac9aed819de677d663d93ee0
Clear filters https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Please reload this pagehttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Please reload this pagehttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files
Assets/ObjectPool/Scripts/ObjectPool.cshttps://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#diff-4201597ecf1f6de1b6888e2b386feca273c07a58099848052761e8c9024ddcc2
View file https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/blob/34a9a7fc67bac321ac9aed819de677d663d93ee0/Assets/ObjectPool/Scripts/ObjectPool.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#diff-4201597ecf1f6de1b6888e2b386feca273c07a58099848052761e8c9024ddcc2
https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#diff-4201597ecf1f6de1b6888e2b386feca273c07a58099848052761e8c9024ddcc2
https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#diff-4201597ecf1f6de1b6888e2b386feca273c07a58099848052761e8c9024ddcc2
https://patch-diff.githubusercontent.com/UnityPatterns/ObjectPool/pull/3/files#diff-4201597ecf1f6de1b6888e2b386feca273c07a58099848052761e8c9024ddcc2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.