From f17eb477cd8108be46e2c0d54f98d5be4e6a61d6 Mon Sep 17 00:00:00 2001 From: VladV Date: Wed, 25 May 2022 12:19:29 +0300 Subject: [PATCH] Readme --- README.md | 9 ++++----- package.json | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5d6c906..28921a9 100644 --- a/README.md +++ b/README.md @@ -25,14 +25,10 @@ _Advanced inspector attributes for Unity_ ## How to Install -Minimal Unity Version is 2020.3. - Library distributed as git package ([How to install package from git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html))
Git URL: `https://github.com/codewriter-packages/Tri-Inspector.git` -After installing the package, you need to unpack the `Installer.unitypackage` that comes with the package. - -Then in `ProjectSettings`/`TriInspector` enable `Full` mode for Tri Inspector. +After installing the package, you need to unpack the `Installer.unitypackage` that comes with the package to fix compiler errors. ## Attributes @@ -648,6 +644,9 @@ parts of the interface can be rendered by the Tri Inspector. In order for the interface to be rendered by Tri instead of Odin, it is necessary to mark classes with `[DrawWithTriInspector]` attribute. +Alternatively, you can mark the entire assembly with an attribute `[assembly:DrawWithTriInspector]` +to draw all types in the assembly using the Tri Inspector. + ### Odin Validator Tri Inspector is integrated with the Odin Validator diff --git a/package.json b/package.json index 4f19109..bf87f26 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "com.codewriter.triinspector", "displayName": "Tri Inspector", - "description": "Better inspector and validator for Unity", - "version": "1.0.2", + "description": "Advanced inspector attributes for Unity", + "version": "1.0.3", "unity": "2020.3", "author": "CodeWriter (https://github.com/orgs/codewriter-packages)", "homepage": "https://github.com/codewriter-packages/Tri-Inspector#readme",