Add simplified Unity sample for better developer onboarding#205
Add simplified Unity sample for better developer onboarding#205tomicz wants to merge 2 commits intoreown-com:developfrom
Conversation
- Add Tomicz.SimpleExample.Unity as a minimal, learning-focused sample - Single WalletController.cs script with essential AppKit functionality - Simple UI with connect/disconnect, account display, and balance - Clear, copy-pasteable code for quick integration - Complements existing comprehensive sample for different use cases - Targets developers who prefer simpler examples when learning SDKs
There was a problem hiding this comment.
Pull Request Overview
This PR adds a simplified Unity sample project (Tomicz.SimpleExample.Unity) to provide developers with a minimal, learning-focused introduction to the Reown AppKit SDK. The sample complements the existing comprehensive Unity sample by offering essential wallet integration functionality in a single, easy-to-understand script.
- Simplified Unity sample with essential features only (connect, disconnect, address/balance display)
- Single-file implementation in
WalletController.csfor easier understanding - Minimal dependencies and clear documentation via README and code comments
Reviewed Changes
Copilot reviewed 101 out of 106 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| sample/Tomicz.SimpleExample.Unity/README.md | Comprehensive documentation explaining setup, features, and troubleshooting |
| sample/Tomicz.SimpleExample.Unity/ProjectSettings/* | Unity project configuration files for the new sample |
| sample/Tomicz.SimpleExample.Unity/Packages/* | Package management configuration including AppKit dependencies |
| sample/Tomicz.SimpleExample.Unity/Assets/TextMesh Pro/* | TextMeshPro assets imported for UI text rendering |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Hello, Thank you very much for opening the PR 🙏 I understand how newcomers may feel overwhelmed when learning a new tool, and our main sample may contribute to that. While I try to keep it as simple as possible, it still uses multiple scenes and includes some extra scripts, which contributes to complexity. That said, we have many simpler sample projects in the Instead of introducing another sample project, we could link to one of our basic playground projects from the docs. Our documentation already provides very detailed installation instructions and provides basic code snippets, as well as more in-depth examples in the Usage section. Do you think our doc aren't clear for newcomers? I have also added a detailed readme file to the sample project. |
|
Yes, I agree this would be a perfect addition to Playgrounds/ Do you want me to move it there, or will you do it? |
🎯 Purpose
This PR adds a simplified Unity sample project (
Tomicz.SimpleExample.Unity) to complement the existing comprehensive sample.🤔 Problem
While the existing
Reown.AppKit.Unitysample is excellent for production applications, it can be overwhelming for developers who just want to:💡 Solution
This new sample provides:
WalletController.cs🎯 Target Audience
🤝 Relationship to Existing Sample
📚 Benefits
🔍 What's Included
This sample doesn't replace the existing one but provides an alternative entry point for developers who prefer simpler examples.