From 1f664dc34e5ebb798df63e09669588e08fc5d22d Mon Sep 17 00:00:00 2001 From: uurha Date: Thu, 4 May 2023 00:23:27 +0000 Subject: [PATCH] Update README.md and LICENSE --- README.md | 24 ++++++++---------------- package.json | 2 +- 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c314239..9364a88 100644 --- a/README.md +++ b/README.md @@ -14,35 +14,27 @@ Better dropdown contains: 2. Fast navigation 3. Grouping -## Select Implementation +## Select Attribute -Provides possibility to select interface implementation in Unity Inspector. +Provides possibility to select interface implementation, enum value with better dropdown in Unity Inspector.
+Also supports **_flag_** enums. Usage: ```c# -[SelectImplementation] [SerializeReference] +[Select] [SerializeReference] private ISomeInterface someInterface; -[SelectImplementation] [SerializeReference] +[Select] [SerializeReference] private SomeAbstractClass someAbstractClass; -[SelectImplementation(typeof(SomeAbstractClass)] [SerializeReference] +[Select(typeof(SomeAbstractClass)] [SerializeReference] private List someAbstractClasses; -[SelectImplementation(typeof(ISomeInterface))] [SerializeReference] +[Select(typeof(ISomeInterface))] [SerializeReference] private List someInterfaces; -``` - -## Select Enum - -Provides possibility to select enum value with better dropdown.
-Also supports **_flag_** enums. - -Usage: -```c# -[SelectEnum] [SerializeField] +[Select] [SerializeField] private KeyCode keyCode; ``` diff --git a/package.json b/package.json index 80b92e3..884ccb2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.uurha.betterattributes", "displayName": "Better Attributes", - "version": "1.8.3", + "version": "1.8.4", "unity": "2020.1", "description": "Unity attributes, allows to serialize interfaces, draw handles for Vector3/Vector2/Quaternion/Bounds, create read only fields.", "dependencies": {