{"id":19419058,"url":"https://github.com/anchan828/componentorderattribute","last_synced_at":"2025-02-25T03:43:30.379Z","repository":{"id":16652720,"uuid":"19408154","full_name":"anchan828/ComponentOrderAttribute","owner":"anchan828","description":null,"archived":false,"fork":false,"pushed_at":"2014-05-03T18:27:04.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T17:42:52.635Z","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":"2014-05-03T17:22:24.000Z","updated_at":"2018-09-13T03:09:34.000Z","dependencies_parsed_at":"2022-09-06T10:40:52.491Z","dependency_job_id":null,"html_url":"https://github.com/anchan828/ComponentOrderAttribute","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%2FComponentOrderAttribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2FComponentOrderAttribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2FComponentOrderAttribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anchan828%2FComponentOrderAttribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anchan828","download_url":"https://codeload.github.com/anchan828/ComponentOrderAttribute/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240599180,"owners_count":19826959,"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-11-10T13:16:01.483Z","updated_at":"2025-02-25T03:43:30.354Z","avatar_url":"https://github.com/anchan828.png","language":"C#","readme":"ComponentOrderAttribute\n=======================\n\nコンポーネントの「Move Up」「Move Down」をコードで自動管理\n\n![](https://dl.dropboxusercontent.com/u/153254465/screenshot/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202014-05-04%203.10.50.png)\n\n\n\n## ComponentOrderAttribute\n\n\n### ComponentOrderAttribute(uint order)\n\n指定した順番通りに並び替える。\n\n**ただしTransformは必ず一番上でなければいけない。**\n\n```\nusing UnityEngine;\nusing System.Collections;\n\n[ComponentOrder(1)]\npublic class Order1 : MonoBehaviour\n{\n}\n```\n\n![](https://dl.dropboxusercontent.com/u/153254465/screenshot/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202014-05-04%203.15.42.png)\n\n### ComponentOrderAttribute(Type type)\n\n指定したTypeの直下に移動する\n\n```\nusing UnityEngine;\nusing System.Collections;\n\n[ComponentOrder(typeof(Rigidbody))]\npublic class OrderRigidbody : MonoBehaviour\n{\n}\n```\n\n![](https://dl.dropboxusercontent.com/u/153254465/screenshot/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202014-05-04%203.16.06.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchan828%2Fcomponentorderattribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanchan828%2Fcomponentorderattribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchan828%2Fcomponentorderattribute/lists"}