From c80cada5bee725388b1500590d0df58bbc3f94a8 Mon Sep 17 00:00:00 2001 From: Favo Yang Date: Sat, 9 May 2020 02:00:37 +0800 Subject: [PATCH] docs: add installation option and the OpenUPM badge --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc6d343..0dc9242 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Texture2DArray Import Pipeline for Unity +[![openupm](https://img.shields.io/npm/v/com.oddworm.texture2darrayimportpipeline?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.oddworm.texture2darrayimportpipeline/) + Unity has no built-in import pipeline for texture arrays in Unity 2020.1 and earlier versions yet. This is the relevant quote from their documentation: > Currently in Unity texture arrays do not have an import pipeline for them, and must be created from code, either at runtime or in editor scripts. ([link](https://docs.unity3d.com/ScriptReference/Texture2DArray.html)) @@ -13,17 +15,24 @@ This Texture2DArray Import Pipeline is an editor extension, it does not contain # Installation +## Install via Git URL In order to use the Texture2DArray Import Pipeline, you have to add the package to your project. As of Unity 2019.3, Unity supports to add packages from git through the Package Manager window. In Unity's Package Manager, choose "Add package from git URL" and insert one of the Package URL's you can find below. -## Package URL's - | Version | Link | |----------|---------------| | 1.0.1 | https://github.com/pschraut/UnityTexture2DArrayImportPipeline.git#1.0.1 | | 1.0.0 | https://github.com/pschraut/UnityTexture2DArrayImportPipeline.git#1.0.0 | +## Install via OpenUPM + +The package is also available on the [openupm registry](https://openupm.com). It's recommended to install it via [openupm-cli](https://github.com/openupm/openupm-cli). + +``` +openupm add com.oddworm.texture2darrayimportpipeline +``` + # Unity Bugs | Bug | Fixed in | Description |