Skip to content

Commit 3f94512

Browse files
authored
Update README.md
1 parent c0a2a6f commit 3f94512

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

README.md

+50-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
1-
# Unity-TilemapTransparency
1+
# Unity Tilemap Transparency
2+
3+
This Unity script allows you to set the transparency of a Tilemap. It's useful for creating effects like faded backgrounds or semi-transparent layers in 2D games.
4+
5+
## Features
6+
7+
- Easily adjust the transparency of a Tilemap via the Inspector.
8+
- Supports real-time updates in the Unity Editor.
9+
- Simple to integrate and use.
10+
11+
## How to Use
12+
13+
1. **Clone or Download the Repository:**
14+
15+
```sh
16+
git clone https://github.com/RimuruDev/Unity-TilemapTransparency.git
17+
```
18+
19+
2. **Add the Script to Your Project:**
20+
21+
Copy the `TilemapTransparency.cs` script to your Unity project's `Assets` folder.
22+
23+
3. **Attach the Script to a Tilemap:**
24+
25+
- Select the GameObject with the `Tilemap` component.
26+
- Attach the `TilemapTransparency` script to the GameObject.
27+
28+
4. **Set the Transparency:**
29+
30+
- In the Inspector, adjust the `Transparency` slider to set the desired transparency level (0 = fully transparent, 1 = fully opaque).
31+
32+
## Example Usage
33+
34+
This script is typically used to set the transparency of background blocks in a Tilemap, allowing for semi-transparent layers that can enhance the visual depth of your 2D game.
35+
36+
## Contact
37+
38+
If you have any questions or need further assistance, feel free to contact me:
39+
40+
- **Email:** [email protected]
41+
- **LinkedIn:** [https://www.linkedin.com/in/rimuru/](https://www.linkedin.com/in/rimuru/)
42+
- **GitHub:** [https://github.com/RimuruDev](https://github.com/RimuruDev)
43+
44+
## License
45+
46+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
47+
48+
---
49+
50+
**RimuruDev**

0 commit comments

Comments
 (0)