找回密码
 立即注册
搜索

[编辑器/功能拓展] Simple drawing canvas 1.3

[复制链接]
176 |0
发表于 2023-10-11 17:20:02 | 显示全部楼层 |阅读模式



A simple framework for drawing on screen.

Try it Online or on Android

Key features:
* draw directly on the texture
* different pen sizes and colors, easy to configure more
* save/load the texture from Application.persistentDataPath
* works on mobile (tested on Android and iOS)
* full commented source code included
* easy to change to suit your needs
* clear to a specific color or transparent
* "stickers" (the ability to draw a texture at specific coordinates on the drawing canvas) * draw various shapes (circle, rectangle, polygon)


一个用于在屏幕上绘图的简单框架。

在网上或安卓上试试

主要特点:
*直接在纹理上绘制
*不同的笔大小和颜色,配置方便多
*从Application.persistentDataPath保存/加载纹理
*适用于移动设备(在Android和iOS上进行测试)
包含完整的注释源代码
*容易改变,以满足您的需要
透明的,透明的
*“贴图”(在绘图画布上的特定坐标绘制纹理的能力)*绘制各种形状(圆形,矩形,多边形)




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表