From b1f8118ef37e80a37f2561644aa1434fb8be2ca8 Mon Sep 17 00:00:00 2001 From: Favo Yang Date: Tue, 12 May 2020 22:25:06 +0800 Subject: [PATCH] docs: installation option via OpenUPM --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1630fbfd1..28c7b3637 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,13 @@ ## Dependency Injection Framework for Unity3D upm package [![Join the chat at https://gitter.im/Zenject/Lobby](https://badges.gitter.im/Zenject/Lobby.svg)](https://gitter.im/Zenject/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![openupm](https://img.shields.io/npm/v/zenject?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/zenject/) If you are looking for the older documentation for Zenject you can find that here: Zenject 3.x, Zenject 4.x, Zenject 5.x ## Using - For start using this package add lines into `./Packages/manifest.json` like next sample: + +For start using this package add lines into `./Packages/manifest.json` like next sample: ```json { "dependencies": { @@ -17,6 +19,12 @@ If you are looking for the older documentation for Zenject you can find that her } ``` +Or install via the [OpenUPM registry](https://openupm.com), using [openupm-cli](https://github.com/openupm/openupm-cli). + +``` +openupm add zenject +``` + ## Introduction Zenject is a lightweight highly performant dependency injection framework built specifically to target Unity 3D (however it can be used outside of Unity as well). It can be used to turn your application into a collection of loosely-coupled parts with highly segmented responsibilities. Zenject can then glue the parts together in many different configurations to allow you to easily write, re-use, refactor and test your code in a scalable and extremely flexible way.