Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vanifatovvlad committed May 25, 2022
1 parent 85f8188 commit f17eb47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
<br>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

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit f17eb47

Please sign in to comment.