纳金网

标题: Simple drawing canvas 1.2 - 在屏幕上绘图的简单框架 [打印本页]

作者: 龙剑飞    时间: 2017-12-10 17:41
标题: Simple drawing canvas 1.2 - 在屏幕上绘图的简单框架

QQ截图20171210172334.jpg
770f339f-2cae-49a9-8a5d-df48519c5e97_scaled.jpg
2eab72a5-b553-4154-9c2f-86351748eb5a_scaled.jpg

需要Unity 5.2.0或更高版本。
一个在屏幕上绘图的简单框架。

主要特征:
*直接在纹理上绘制
*不同的笔大小和颜色,更容易配置
*从Application.persistentDataPath保存/加载纹理
*适用于手机(在Android和iOS上测试)
*包括完整的评论源代码
*容易改变,以满足您的需求
*新:清除特定的颜色,而不是白色
*新:“贴纸”(在画布上的特定坐标处绘制纹理的能力)


A simple framework for drawing on screen.
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
* NEW: clear to a specific color instead of white
* NEW: "stickers" (the ability to draw a texture at specific coordinates on the drawing canvas)

Simple drawing canvas 1.2.rar

657.34 KB, 阅读权限: 10, 下载次数: 50






欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5