UnityExtensions.InspectInline
Enables you to inspect and edit object references, and easily embed such objects as subassets.
Install / Use
/learn @garettbass/UnityExtensions.InspectInlineREADME
UnityExtension.InspectInline

Installation
Just clone this repo somewhere inside your Unity project's Assets folder.
InspectInlineAttribute
Apply the InspectInlineAttribute to member variables that reference objects derived from UnityEngine.Object (e.g. UnityEngine.ScriptableObject subclasses). It provides the following configuration options:
-
bool canEditRemoteTarget- Enable inline editing of the referenced object even if it resides in a different asset file. -
bool canCreateSubasset- Directs theInspectInlineDrawerto embed the referenced object as a subasset in the same asset file.
public class SampleAsset : ScriptableObject
{
[InspectInline(canEditRemoteTarget = true)]
public SampleSubasset remoteTarget;
[InspectInline(canCreateSubasset = true)]
public SampleSubassetWithVectorAndColorValues concreteSubasset;
[InspectInline(canCreateSubasset = true)]
public SampleSubasset polymorphicSubasset;
}
InspectInlineDrawer
This 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.
Related Skills
ai-cmo
Collection of my Agent Skills and books.
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
product-manager-skills
31PM skill for Claude Code, Codex, Cursor, and Windsurf: diagnose SaaS metrics, critique PRDs, plan roadmaps, run discovery, and coach PM career transitions.
devplan-mcp-server
3MCP server for generating development plans, project roadmaps, and task breakdowns for Claude Code. Turn project ideas into paint-by-numbers implementation plans.
