Skip to content

Commit fdab3ed

Browse files
committed
chore: sample unity 6 (wip)
1 parent e5827ac commit fdab3ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+4204
-0
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
*.dll filter=lfs diff=lfs merge=lfs -text
2+
3+
# Ensure symlinks are stored as symlinks, not as text files
4+
sample-unity6/Assets/Scenes text=auto
5+
sample-unity6/Assets/Scripts text=auto
6+
sample-unity6/Assets/Scenes.meta text=auto
7+
sample-unity6/Assets/Scripts.meta text=auto

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,33 @@ The Immutable SDK for Unity helps you integrate your game with Immutable Passpor
1717
* [Immutable X](https://docs.immutable.com/docs/x/sdks/unity)
1818
* [Immutable zkEVM](https://docs.immutable.com/docs/zkEVM/sdks/unity)
1919

20+
## Sample Projects
21+
22+
This repository contains two sample projects:
23+
24+
- **`sample/`** - Unity 2021.3.26f1 sample project
25+
- **`sample-unity6/`** - Unity 6 sample project *(work in progress)*
26+
27+
Both projects share the same Scenes and Scripts via symbolic links, providing a single source of truth for the sample code. See [`sample-unity6/README.md`](sample-unity6/README.md) for setup instructions.
28+
29+
### First Time Setup (for contributors)
30+
31+
The `sample-unity6` project uses symbolic links to share Scenes and Scripts with the `sample` project.
32+
33+
**macOS/Linux:** Symlinks are created automatically when you clone/pull - no action needed.
34+
35+
**Windows:** Check if symlinks were created correctly:
36+
1. Navigate to `sample-unity6/Assets/`
37+
2. Check if `Scenes` and `Scripts` are folders (symlinks work) or small text files (symlinks didn't work)
38+
39+
If symlinks didn't work, run the setup script:
40+
41+
```powershell
42+
.\setup-symlinks.ps1
43+
```
44+
45+
> **Note for Windows users**: You'll need Developer Mode enabled or run PowerShell as Administrator. See [`sample-unity6/README.md`](sample-unity6/README.md) for details.
46+
2047
## Contributing
2148

2249
Thank you for your interest in contributing to our project! Here's a quick guide on how you can get started:

sample-unity6/Assets/Resources.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-unity6/Assets/Scenes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../sample/Assets/Scenes

sample-unity6/Assets/Scenes.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../sample/Assets/Scenes.meta

sample-unity6/Assets/Scripts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../sample/Assets/Scripts

sample-unity6/Assets/Scripts.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../sample/Assets/Scripts.meta

sample-unity6/Assets/Settings.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-unity6/Assets/Settings/Build Profiles.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)