How to Make a Cleaning System in Unity
Learn how to build a complete cleaning system in Unity using a mop or sponge to clean dirt, stains, and spills off surfaces. In this video, we break down the logic behind cleanable surfaces, how games track cleaning progress, and how to write the C# scripts to handle the interaction smoothly.
Project files on GitHub:
https://github.com/BATPANn/Unity_Tutorials/tree/main/Cleaning%20System
What we cover:
Setting up cleanable dirt surfaces and materials
Detecting surface contact using raycasting and colliders
Coding the cleaning tool logic for mops and sponges in C#
Tracking dirt removal and updating surface textures dynamically
Optimizing the cleaning mechanic for performance
Play my horror game Fractured Psyche:
https://batpan.itch.io/fractured-psyche
Support the channel (Iran Edition):
Since international banking is locked on Nightmare difficulty in my country, crypto is the best way to support future videos and game development.
USDT (TRC20):
TXDxZuRFUP7E5DRGd2gtymRVZxKnxksX5C
USDT (TON):
UQDqreMdp21PzFXWzxKnxksX5C...
UQDqreMdp21PzFXWzpJQ2MTMcnOzL7mi0rfmyIA0N0gddpBg
(No memo needed for TON)
#unity3d #gamedev #unitytutorial #indiegamedev #gamedevelopment #csharp
Education
#unity tutorial
#how to make a game
#survival horror
#FearsToFathom
#batpan unity tutorial
#batpan the mad dog course
#how to make a horror game
#ps1 horror tutorial batpan
#vhs horror game
#unity horror game tutorial
#how to make a horror game in unity
#indie game devlog
#survival horror game development
#ps1 style graphics unity
#make a ps1 style game
#unity c# coding tutorial
#game developement
#unity
#scary game
#make game