Drop ThroughPropertyAttribute.cs
anywhere in Assets
.
Drop ThroughPropertyDrawer.cs
anywhere inside an Editor
folder in Assets
.
Attach Test
to a gameobject to make sure it works. See the code in Test
for an example.
Features:
- Displays field as readonly if setter is missing.
- Works with non-public getter/setters.