Skip to content

Commit d7439cc

Browse files
📝 Fix image URLs in README
They were pointing to the old website domain.
1 parent ce4fba7 commit d7439cc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
A bounded (i.e., with a minimum and maximum) range attribute for Unity's `Vector2` and `Vector2Int` fields that draws fields as min/max range sliders, easing the definition of bounded ranges on the inspector.
55

6-
![Five examples of attribute usage on the Unity inspector.](https://matheusamazonas.net/min_max_range_attribute_site/assets/images/header.gif)
6+
![Five examples of attribute usage on the Unity inspector.](https://minmax.matheusamazonas.net/assets/images/header.gif)
77

88
## Features
99
- Intuitive, compact inspector representation.
@@ -30,10 +30,10 @@ For example, the field below has `minLimit` equal to 0, `maxLimit` equal to 10 a
3030
```
3131

3232
And its inspector representation is:
33-
![](https://matheusamazonas.net/min_max_range_attribute_site/assets/images/usage/vector_3.png)
33+
![](https://minmax.matheusamazonas.net/assets/images/usage/vector_3.png)
3434

3535
If `decimals` is 2 (`MinMaxRange(0f, 10f, 2)`):
36-
![](https://matheusamazonas.net/min_max_range_attribute_site/assets/images/usage/vector_2.png)
36+
![](https://minmax.matheusamazonas.net/assets/images/usage/vector_2.png)
3737

3838
The default value of `decimals` is 1, so we might as well omit the parameter if we would like to display only 1 decimal place:
3939
```csharp
@@ -42,7 +42,7 @@ The default value of `decimals` is 1, so we might as well omit the parameter if
4242
```
4343

4444
Which will be displayed as:
45-
![](https://matheusamazonas.net/min_max_range_attribute_site/assets/images/usage/vector_1.png)
45+
![](https://minmax.matheusamazonas.net/assets/images/usage/vector_1.png)
4646

4747
Keep in mind that the `decimals` parameter only controls how the value labels will be displayed on the inspector. It doesn't control the values' precision.
4848

@@ -57,15 +57,15 @@ For example, the field below has `minLimit` equal to 0 and `maxLimit` equal to 1
5757
[SerializeField] private Vector2Int _rewardRange = new(2, 4);
5858
```
5959
And its inspector representation is:
60-
![](https://matheusamazonas.net/min_max_range_attribute_site/assets/images/usage/vector_int.png)
60+
![](https://minmax.matheusamazonas.net/assets/images/usage/vector_int.png)
6161

6262
## Importing
6363
The first step is to import the library into your Unity project. There are two ways to do so: via the Package Manager using a git URL, and via OpenUPM.
6464

6565
### Import using a git URL
6666
This approach uses Unity's Package Manager to add the attribute to your project using the repo's git URL. To do so, navigate to `Window > Package Manager` in Unity. Then click on the `+` and select "Add package from git URL":
6767

68-
![](https://matheusamazonas.net/min_max_range_attribute_site/assets/images/upm_adding.png)
68+
![](https://minmax.matheusamazonas.net/assets/images/upm_adding.png)
6969

7070
Next, enter the following in the "URL" input field to install the latest version of the attribute:
7171
```

0 commit comments

Comments
 (0)