API Mocking Toolkit For Unity - Promo

Опубликовано: 15 Май 2026
на канале: Code-Carnage
3
0

If you're building any online feature in Unity — login, leaderboards, inventory, matchmaking — you've probably hit this: the REST API endpoint isn't done yet, staging is flaky, or you just don't want to fire real HTTP requests every time you hit Play.

API Mocking Toolkit intercepts your UnityWebRequest calls inside the Unity Editor and lets you define exactly what each endpoint returns — status code, response body, headers, latency — without changing your game code or running a local server.

You set up your HTTP endpoints once in the Editor window. Toggle mock on or off per endpoint. Chain multiple responses in sequence so you can reproduce specific flows — first call returns 200, second returns 429, third times out — whatever the scenario needs.

Capture a real response from your actual API and turn it into a mock in one click. Import and export in OpenAPI 3.0, so you can work from the same spec your API team is already using.

Every HTTP call is logged across play sessions with full request/response details, and you can jump straight back to the endpoint config from the log.

Unity Asset Store → [link] (Will be updated soon)
Docs → [link] (Will be updated soon)

Tested on Unity 2021.3 LTS and above. Works with Built-in RP, URP, and HDRP.