{"id":23066442,"url":"https://github.com/xjine/unity_screenutil","last_synced_at":"2025-08-15T11:33:02.060Z","repository":{"id":39410629,"uuid":"182611951","full_name":"XJINE/Unity_ScreenUtil","owner":"XJINE","description":"Convert between viewport-coord and screen-coord, and, any others.","archived":false,"fork":false,"pushed_at":"2022-06-24T09:04:45.000Z","size":24,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-03-20T20:12:35.827Z","etag":null,"topics":["assets","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XJINE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-22T02:50:46.000Z","updated_at":"2023-11-11T12:16:36.000Z","dependencies_parsed_at":"2022-08-29T17:30:14.610Z","dependency_job_id":null,"html_url":"https://github.com/XJINE/Unity_ScreenUtil","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_ScreenUtil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_ScreenUtil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_ScreenUtil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_ScreenUtil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XJINE","download_url":"https://codeload.github.com/XJINE/Unity_ScreenUtil/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229910988,"owners_count":18143229,"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","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":["assets","unity"],"created_at":"2024-12-16T05:13:19.754Z","updated_at":"2024-12-16T05:13:20.404Z","avatar_url":"https://github.com/XJINE.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity_ScreenUtil\n\nConvert between viewport-coord and screen-coord, and, any others.\n\n## Importing\n\nYou can use Package Manager or import it directly.\n\n```\nhttps://github.com/XJINE/Unity_ScreenUtil.git?path=Assets/Packages/ScreenUtil\n```\n\n## How to use\n\n``` csharp\nScreenUtil.ViewportToScreen(Vector2 coord)\nScreenUtil.ViewportToScreen(float coordX, float coordY)\nScreenUtil.ScreenToViewport(Vector2Int coord)\nScreenUtil.ScreenToViewport(int coordX, int coordY)\nScreenUtil.AspectRatio;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjine%2Funity_screenutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjine%2Funity_screenutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjine%2Funity_screenutil/lists"}