unity-quickstart
Skill by Nethereum
Integrates Ethereum into Unity games using the Nethereum library. It covers async Web3 calls, WebGL browser wallet connections through EIP-6963 and MetaMask, and typed ERC-20 access for Unity developers.
Install unity-quickstart
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.claude/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/unity-quickstart ~/.claude/skills/unity-quickstartRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/unity-quickstart ~/.gemini/antigravity-cli/skills/unity-quickstartAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The unity-quickstart skill guides an AI assistant through adding Ethereum to Unity games with Nethereum. Nethereum provides Unity-compatible libraries with an async Web3 API, coroutine wrappers, WebGL wallet connectivity through EIP-6963 multi-wallet discovery and MetaMask, and typed contract services. The skill covers installing the com.nethereum.unity package, querying block numbers, sending ETH, and reading ERC-20 token data.
On WebGL builds, the skill shows how to connect browser wallets so the wallet handles signing. On desktop and mobile, it uses a private key and an RPC endpoint. It also covers generating typed C# contract services from Solidity ABI files for sharing between Unity and .NET projects. It is aimed at Unity developers building games that read or write blockchain data, including NFT and token games.
Written from the project's SKILL.md and checked against it.
What it can do
- Async Web3 queriesQueries Ethereum data from Unity, such as the current block number, using the async Web3 API.
- EIP-6963 wallet discoveryDiscovers installed browser wallets in Unity WebGL builds and connects to a selected wallet.
- MetaMask direct connectionConnects to MetaMask directly in WebGL builds as a fallback to EIP-6963 discovery.
- Account and network eventsHandles account and network change events from the connected wallet using Task-based handlers.
- ETH transfersSends ETH with a private key on desktop or mobile, or through a connected wallet in WebGL.
- ERC-20 token accessReads token name, symbol, decimals and balance through built-in typed ERC-20 services.
- ERC-721 and ERC-1155 accessProvides typed access to NFT and multi-token contracts through Web3 Eth services.
- Contract code generationGenerates typed C# contract services from Solidity ABI and bytecode files.
- Cross-platform setupUses conditional compilation to switch between WebGL wallet and private key signing.
What you need
- Unity project with the com.nethereum.unity package
- WebGLThreadingPatcher package for async/await in WebGL builds
- Browser wallet such as MetaMask for WebGL wallet connections
- RPC endpoint URL for querying the chain
- dotnet tool Nethereum.Generator.Console for ABI code generation
Try asking
- Show me how to connect a MetaMask wallet in a Unity WebGL build.
- Write a Unity script that reads an ERC-20 token balance with Nethereum.
- Generate typed C# contract services from my Solidity ABI for Unity.
Good to know
- WebGL async/await requires the WebGLThreadingPatcher package.
- For IL2CPP builds, IL2CPP Code Generation must be set to Faster (smaller) builds.
- WebGL signing depends on the browser wallet, while desktop and mobile use a private key.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/nethereum-skills/skills/unity-quickstart/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to unity-quickstart
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
unity-quickstart: common questions
Does Nethereum work with Unity WebGL and MetaMask?
Yes. The skill shows EIP-6963 multi-wallet discovery as the recommended WebGL approach, with a direct MetaMask connection as a fallback.
How do I read ERC-20 token data in Unity?
Use the built-in web3.Eth.ERC20 typed service to call name, symbol, decimals and balance queries without writing an ABI.
Can I share contract code between Unity and .NET tests?
The skill describes generating C# contract services from ABI files and sharing them through a netstandard2.0 project referenced by Unity with a file dependency.
How do I install unity-quickstart?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is unity-quickstart free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is unity-quickstart safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to unity-quickstart?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
