{"id":13785389,"url":"https://github.com/anchan828/unity-GameViewSizeHelper","last_synced_at":"2025-05-11T21:30:27.100Z","repository":{"id":9643220,"uuid":"11576798","full_name":"anchan828/unity-GameViewSizeHelper","owner":"anchan828","description":"ScriptからGameViewSizeを作成、また設定するヘルパークラス","archived":false,"fork":false,"pushed_at":"2018-12-27T05:42:42.000Z","size":13,"stargazers_count":54,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T13:42:38.957Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anchan828.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":"2013-07-22T08:44:34.000Z","updated_at":"2024-01-09T15:58:18.000Z","dependencies_parsed_at":"2022-08-30T17:41:28.282Z","dependency_job_id":null,"html_url":"https://github.com/anchan828/unity-GameViewSizeHelper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2Funity-GameViewSizeHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2Funity-GameViewSizeHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2Funity-GameViewSizeHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2Funity-GameViewSizeHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anchan828","download_url":"https://codeload.github.com/anchan828/unity-GameViewSizeHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253638712,"owners_count":21940412,"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":[],"created_at":"2024-08-03T19:00:59.892Z","updated_at":"2025-05-11T21:30:26.753Z","avatar_url":"https://github.com/anchan828.png","language":"C#","readme":"GameViewSizeHelper\n==================\n\nScriptからGameViewSizeを作成、また設定するヘルパークラス\n\n## API\n\n\n\n### AddCustomSize\n\nGameViewサイズを追加します\n\n```cs\npublic static void AddCustomSize (GameViewSizeGroupType groupType, GameViewSize gameViewSize)\npublic static void AddCustomSize (GameViewSizeGroupType groupType, GameViewSizeType type, int width, int height, string baseText)\n```\n\n名前|説明\n:---|:---\ngroupType|追加したいプラットフォーム\ngameViewSize|サイズやアスペクト比など必要な情報を格納したGameViewSizeオブジェクト\ntype|アスペクト比かピクセルサイズか\nwidth|幅\nheight|高さ\nbaseText|この設定の名前\n\n### RemoveCustomSize\n\nGameViewサイズを削除します\n\n```cs\npublic static bool RemoveCustomSize (GameViewSizeGroupType groupType, GameViewSize gameViewSize)\npublic static bool RemoveCustomSize (GameViewSizeGroupType groupType, GameViewSizeType type, int width, int height, string baseText)\n```\n\n### Contains\n\n設定しようとしているGameViewサイズが既に設定済みか確認します\n\n```cs\npublic static bool Contains (GameViewSizeGroupType groupType, GameViewSize gameViewSize)\npublic static bool Contains (GameViewSizeGroupType groupType, GameViewSizeType type, int width, int height, string baseText)\n```\n\n### ChangeGameViewSize\n\n指定のGameViewサイズに変更します\u003cbr\u003e\n必ずUnityEditorをgroupTypeと同じプラットフォームに指定しておかなければいけません\n\n```cs\npublic static void ChangeGameViewSize (GameViewSizeGroupType groupType, GameViewSize gameViewSize)\npublic static void ChangeGameViewSize (GameViewSizeGroupType groupType, GameViewSizeType type, int width, int height, string baseText)\n```\n\n## LICENSE\n\n[MIT](https://github.com/anchan828/unity-GameViewSizeHelper/blob/master/LICENSE)\n","funding_links":[],"categories":["Game View"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchan828%2Funity-GameViewSizeHelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanchan828%2Funity-GameViewSizeHelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchan828%2Funity-GameViewSizeHelper/lists"}