Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move sample projects to Samples~ folder so they're kept out of builds #220

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions Build/python/mtm/zen/CreateRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def _createCSharpPackage(self, includeSample, outputPath):
self._sys.removeFile('[ZenTempDir]/Source/Zenject.csproj')

if not includeSample:
self._sys.deleteDirectory('[ZenTempDir]/OptionalExtras/SampleGame1 (Beginner)')
self._sys.deleteDirectory('[ZenTempDir]/OptionalExtras/SampleGame2 (Advanced)')
self._sys.deleteDirectory('[ZenTempDir]/Samples~/SampleGame1 (Beginner)')
self._sys.deleteDirectory('[ZenTempDir]/Samples~/SampleGame2 (Advanced)')

self._createUnityPackage('[PackageTempDir]', outputPath)
finally:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ The Zenject documentation is split up into the following sections. It is split

Another great starting point is to watch [this youtube series on zenject](https://www.youtube.com/watch?v=IS2YUIb_w_M&list=PLKERDLXpXl_jNJPY2czQcfPXW4BJaGZc_) created by Infallible Code.

You might also benefit from playing with the provided sample projects (which you can find by opening `Zenject/OptionalExtras/SampleGame1` or `Zenject/OptionalExtras/SampleGame2`).
You might also benefit from playing with the provided sample projects (which you can find by opening `Zenject/Samples~/SampleGame1` or `Zenject/Samples~/SampleGame2`).

If you are a DI veteran, then it might be worth taking a look at the [cheatsheet](#cheat-sheet) at the bottom of this page, which should give you an idea of the syntax, which might be all you need to get started.

Expand Down
Loading