{"id":13663913,"url":"https://github.com/garettbass/UnityExtensions.InspectInline","last_synced_at":"2025-04-25T20:31:44.478Z","repository":{"id":48501109,"uuid":"151491658","full_name":"garettbass/UnityExtensions.InspectInline","owner":"garettbass","description":"Enables you to inspect and edit object references, and easily embed such objects as subassets.","archived":false,"fork":false,"pushed_at":"2021-07-22T15:42:06.000Z","size":244,"stargazers_count":46,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T12:00:20.659Z","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/garettbass.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":"2018-10-03T23:03:26.000Z","updated_at":"2025-01-20T22:55:17.000Z","dependencies_parsed_at":"2022-08-28T01:00:37.625Z","dependency_job_id":null,"html_url":"https://github.com/garettbass/UnityExtensions.InspectInline","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/garettbass%2FUnityExtensions.InspectInline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garettbass%2FUnityExtensions.InspectInline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garettbass%2FUnityExtensions.InspectInline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garettbass%2FUnityExtensions.InspectInline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garettbass","download_url":"https://codeload.github.com/garettbass/UnityExtensions.InspectInline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250890536,"owners_count":21503509,"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-02T05:02:40.764Z","updated_at":"2025-04-25T20:31:44.105Z","avatar_url":"https://github.com/garettbass.png","language":"C#","readme":"# UnityExtension.InspectInline\n\n![Before \u0026 After](Before-After.png)\n\n## Installation\n\nJust clone this repo somewhere inside your Unity project's `Assets` folder.\n\n## `InspectInlineAttribute`\n\nApply the `InspectInlineAttribute` to member variables that reference objects derived from `UnityEngine.Object` (e.g. `UnityEngine.ScriptableObject` subclasses).  It provides the following configuration options:\n\n* `bool canEditRemoteTarget` - Enable inline editing of the referenced object even if it resides in a different asset file.\n\n* `bool canCreateSubasset` - Directs the `InspectInlineDrawer` to embed the referenced object as a subasset in the same asset file.\n\n```cs\n    public class SampleAsset : ScriptableObject\n    {\n\n        [InspectInline(canEditRemoteTarget = true)]\n        public SampleSubasset remoteTarget;\n\n        [InspectInline(canCreateSubasset = true)]\n        public SampleSubassetWithVectorAndColorValues concreteSubasset;\n\n        [InspectInline(canCreateSubasset = true)]\n        public SampleSubasset polymorphicSubasset;\n\n    }\n```\n\n## `InspectInlineDrawer`\n\nThis subclass of `UnityEditor.PropertyDrawer` draws the object selection field, and when the referenced object is not `null`, it also draws the associated inspector for that object immediately below the object selection field.","funding_links":[],"categories":["C\\#","Inspector"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarettbass%2FUnityExtensions.InspectInline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarettbass%2FUnityExtensions.InspectInline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarettbass%2FUnityExtensions.InspectInline/lists"}