Easy Asset Search

Drawing Tool 2D

A 2D drawing system for Unity that allows users to draw freely on a sprite with customizable brush size and color, and clear the canvas.
Drawing Tool 2D Asset Image A 2D drawing system for Unity that allows users to draw freely on a sprite with customizable brush size and color, and clear the canvas.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
FREE
Category:
ToolsPainting
Developer:
NextHaven Studio
Price:
FREE
Favorites:
2
Supported Unity Versions:
6000.0.26 or higher
Current Version:
1.0
Download Size:
64.09 KB
Last Update:
Mar 6, 2025
Description:
The 2D Drawing System is a Unity package that enables users to draw freely on a sprite in Unity. It allows for dynamic drawing with a brush, adjusting brush size and color, and clearing the canvas. The system is ideal for 2D games or applications where dynamic drawing is needed. The main features include dynamic brush color and size adjustments, freehand drawing, sprite-based drawing, and clearing the drawing. The technical features include brush settings, drawing method, sprite and texture management, drawing reset, and events and user interaction. The system is easy to integrate into any 2D Unity project and uses simple Unity components like SpriteRenderer and PolygonCollider2D.
Technical Details:
The system uses a Texture2D to store the drawings and applies updates only when necessary for optimal performance. The brush size is controlled by the brushSize variable, and the brush color is controlled by the brushColor variable. The drawing method uses the Bresenham line algorithm for smooth and accurate line drawing. The system also includes methods for changing the brush color and size, drawing, clearing the canvas, and customizing the system. The code snippets provided demonstrate how to use the methods provided, including changing the brush color, size, and clearing the canvas.
Continue »

Similar Packages