A downloadable tool

Buy Now$1.00 USD or more

SerializedCallback — Inspector-Driven Method Calls with Return Values

Ever wished Unity's Inspector could call your methods and give you the result back? That's exactly what SerializedCallback does.

Wire up any method on any object directly from the Inspector — set the parameters, hit play, and get a typed return value back in one line of code. No boilerplate, no hard-coded references, no fuss.

What makes it different from UnityEvent? UnityEvent is great, but it only fires void methods and you never get a value back. SerializedCallback supports all 10 common Unity types as both return values and parameters — and yes, it works on private methods too.

Highlights
✦ Supports int, float, bool, string, Vector2/3/4, Color and their Int variants
✦ Call private methods directly from the Inspector
✦ Target any Unity Object — same component, different GameObject, ScriptableObject
✦ Delegate is cached after the first call — zero reflection overhead per frame
✦ Clean UIElements drawer with smart +/− buttons and auto-generated parameter fields
✦ Full reset and Undo support baked in

As simple as it gets

[SerializeField] private SerializedCallback<int> myCallback; int result = myCallback.Invoke(); // that's it

Comes with a fully commented example script covering every supported type, and complete documentation with a quickstart guide, API reference, and FAQ.

Perfect for gameplay programmers, tools developers, and anyone who wants designers to configure logic in the Inspector without touching code.

Published 19 days ago
StatusReleased
CategoryTool
AuthorASTek Game Studio
Tags2D, 3D, editor, tool, Unity
ContentNo generative AI was used

Purchase

Buy Now$1.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $1 USD. You will get access to the following files:

Serializable Callback Package.unitypackage 12 kB
SerializedCallback_Docs.html 56 kB

Leave a comment

Log in with itch.io to leave a comment.