https://github.com/konh/vcontainersample
Samples to cover VContainer basic usage
https://github.com/konh/vcontainersample
csharp dependency-injection sample unity vcontainer
Last synced: 11 months ago
JSON representation
Samples to cover VContainer basic usage
- Host: GitHub
- URL: https://github.com/konh/vcontainersample
- Owner: KonH
- License: mit
- Created: 2022-02-16T09:45:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T10:14:41.000Z (over 4 years ago)
- Last Synced: 2023-03-27T16:02:44.864Z (about 3 years ago)
- Topics: csharp, dependency-injection, sample, unity, vcontainer
- Language: ShaderLab
- Homepage:
- Size: 1.26 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VContainer Sample
Samples to cover VContainer (Unity DI framework) basic usage.
Features:
- Root level / scene lifetime scopes
- Entry points
- Lifetime callbacks
- Factories / custom registrations
- Disposables
- Codegen
Architecture layers:
- **Manager** - logics related to some gameplay scope, which uses services to perform required tasks
- **Scope** - composition roots for dependency injection
- **Service** - utilities to perform specific tasks
- **Starter** - entry points for each scene (no/minimal logics)
- **State** - persistant save data only
- **View** - MonoBehaviour components