You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| main(unstable) | -- |[main](https://github.com/DevSlem/unity-move-tool/tree/main)| 7.0 or higher | .Net Standard 2.0 or higher |
22
-
|[Release 3.0.0](https://github.com/DevSlem/unity-move-tool/releases/tag/release-3.0.0)| 2022-06-22|[release-3.0.0](https://github.com/DevSlem/unity-move-tool/tree/release-3.0.0)| 7.0 or higher | .Net standard 2.0 or higher |
22
+
|[Release 3.1.0](https://github.com/DevSlem/unity-move-tool/releases/tag/release-3.1.0)| 2022-09-16|[release-3.1.0](https://github.com/DevSlem/unity-move-tool/tree/release-3.1.0)| 7.0 or higher | .Net standard 2.0 or higher |
23
23
24
24
## Latest Update
25
25
26
-
*`KgmSlem` namespace is changed to `DevSlem`.
27
-
*You can use Unity package system.
26
+
*You can use **Move-Tool** for the `float` field.
27
+
*Arrow of z direction of **Move-Tool** for the `Vector2` field has been removed. To be more intuitive!
28
28
29
29
## Installation
30
30
31
31
You can select 2 installation methods.
32
32
33
33
* Clone the repository and add `package.json` file to your project through Unity Package Manager.
34
-
* You can add directly the package from git URL to your project through Unity Package Manager.
34
+
* You can add directly the package from git URL to your project through Unity Package Manager. See the [Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html).
35
35
36
36
## Basic usage
37
37
38
38
You just define `MoveTool` attribute for a field for which you want to use position handle.
39
39
The field is okay whether it's vector or vector collection.
40
-
It works only if the type of the field is either `Vector3` or `Vector2`.
40
+
It works only if the type of the field is one of the `Vector3`, `Vector2`, `float` type.
41
41
42
42
If you want to use ***attributes*** about move-tool, you must declare the following `using` directive.
43
43
@@ -68,6 +68,16 @@ public class MoveToolSample : MonoBehaviour
68
68
69
69

70
70
71
+
### Float
72
+
73
+
```c#
74
+
[MoveTool] publicfloatfloatField;
75
+
```
76
+
77
+
> Note that `float` type field only moves along the x axis.
78
+
79
+

80
+
71
81
### Collection
72
82
73
83
You can use move-tool to `Array` or `List<T>` collection where each element is vector value.
0 commit comments