Scratch Card v1

Unity 2018-2022 supported.


🕹️ Try the WebGL Demo!


🚀 High performance, mobile-friendly

Asset uses GPU for scratching, which provides high performance


🖌 Brushes support

Choose brush and scratch as you want! You can easily add your custom brushes


✔️ Detects the percentage of covering that remains


🌟 Easy to set up

Drag and drop prefab, adjust the parameters, and there you go!


✏️ Two modes: Erase and Restore

You can scratch your surface or restore it using a brush!


🧩 Supports multiply components

Works with MeshRenderer, SpriteRenderer, UI Image


🏞 Works in 2D and 3D

No matter - a perspective camera or orthographic, it will work equally well


🔅 Supports images with transparent areas


🔢 Supports work with multiple scratch cards at the same time


💻 Supports scratching from code


🛠 Works with any render pipeline

Standard, Universal Render Pipeline (URP), and High Definition Render Pipeline (HDRP) are supported


🖐🏻 Supports multi-touch


📠 Long-Term Support

Be sure that you'll get support for new unity versions and features


📖 Full C# source code and example scene included



________________________________________________________________________________



Other products you may like:


🖍️ 2D/3D Paint - paint on any 2D and 3D objects with great performance

💬 Audio-Text Synchronizer - create dialogues, subtitles, and interactive books with text synchronized with playing audio

🔨 2D Deformation - create sprites that may be deformed using physics or from code

Release Notes

v. 1.8.5

Core:

- Added support for Playstation 4 / Playstation 5

- Improved performace


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


v. 1.8.4

Core:

- Improved EraseProgress.OnComplete event - now it doesn't depend on OnProgress event

- Removed "CutOff" value from ScratchCardManager

- Fixed the setting of new texture from code using ScratchCard.SetScratchTexture(Texture2D texture) method when the texture has alpha


Other:

- Updated manual


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


v. 1.8.3

Editor:

- Fixed ScratchCardManagerInspector exceptions


Core:

- Added namespaces for ScratchCardManager, ScratchCard, EraseProgress and ScratchDemoUI classes (please, check troubleshooting paragraph in Manual if you have any difficulties after upgrade)

- Fixed work with perspective Camera using Canvas RenderMode.Overlay


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


v. 1.8.2

Editor:

- Fixed setting new brush from Unity Editor


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


v. 1.8.1

Editor:

- Added an ability to set native card size

- Fixed saving brush scale

- Other improvements


Core:

- Improved performance


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


v. 1.8

New features:

- Added perspective cameras support

- Added an ability to save/load Scratch Card texture from code

- Added an ability to scratch from code


Editor:

- Added an ability to create Scratch Card from menu "GameObject -> 2D Object -> Scratch Card"


Core:

- Improved performance

- Improved progress accuracy

- Improved memory management

- ScratchCard.Reset() was renamed to ScratchCard.ResetRenderTexture()

- Refactored code


Other:

- Updated manual

Basic Information
Latest Version
1.8.5 (14 Apr 2022)
Publisher
Kostiantyn Saietskyi
Category
Tools/Particles & Effects
Size
1.3 MB
Price
free
Asset Rating
(48)
Extended Information
Unity Versions
2018.4.0, 2020.3.0
Render Pipelines
BIRP URP HDRP
State
deprecated