ASTek Utilities: Method Callbacks for Unity Inspector
A downloadable tool
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 |
| Status | Released |
| Category | Tool |
| Author | ASTek Game Studio |
| Tags | 2D, 3D, editor, tool, Unity |
| Content | No generative AI was used |
Purchase
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:


Leave a comment
Log in with itch.io to leave a comment.